Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Controlling Tabs on xDialog

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Controlling Tabs on xDialog

    On the attached xDialog, I needed to insert the radio buttons on each line so we could add individual records to either of 2 tables depending on the radio button. Prior to this we selected the table "up-front", which didn't produce the needed results as all cases added would go to one of the tables or the other. In the dialog, I have "|" (tab) characters so the columns line up properly. the "APP/redet/recert/CRL date" field used to line up closer to the case number field, but inserting the radio moved the tab position much further out. I have experimented with the {col}{endcol},{row}{endrow} method with the same results.

    Basically, I need to know how to set the tab"|" position where I need it, and not at a fixed position that I can't control.

    this is a piece of code for the dialog showing the rows.
    Code:
    dim shared a_dlg_button as C
    Delete XdialogStyle
    dim XDialogStyle as p
    XDialogStyle.AccentColor = "White"
    XDialogStyle.Color = "#254+254+193"
    varC_result = ui_dlg_box(agency+" Case Tracking System",<<%dlg%
    {Windowstyle=Gradient Horizontal Top}
    {region}
    {font=arial,10}
    {text=60,2:heading_string};
    {endregion};
    {region}
    {text=24:I_P_Heading}{sp=5} [%DATE;P=popup.calendar(dtoc(Int_Date));I=popup.calendar%.20Int_Date]{sp=10}Select Assigned Worker: [%@Worker_rl_def%.40,5Worker];
    {lf};
    {line=2,1}
    {lf};
    {sp=20}Case Tracking{sp=11}Please Select|app/redet/recert/CRL        ------------ Programs ------------ ;
    Case Number{sp=7}Record{sp=14}Intake or Ongoing|Date                                SNAP TANF   GA FamCare  ABD{sp=8} {condition_begin=("Interview"$assign_type)}Interview Type{sp=20}Interview Time {condition_end};
    {line=2,1};
    [.15Caseno1!caseno1_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP1}{font=arial,10,n}{color=black}  (IorO1:Intake)(IorO1:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A1));I=popup.calendar%.20Date_A1!Date_A01_*] (SNAP1) (Tanf1) (GA1) (FAMCARE1)  (ABD1){sp=5}{condition_begin=("Interview"$assign_type)}(Type1:In Person)(Type1:Telephone){condition_begin=(Type1="In Person")}{sp=4} [.15Time1]{condition_end}{condition_end};
    [.15Caseno2!caseno2_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP2}{font=arial,10,n}{color=black}  (IorO2:Intake)(IorO2:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A2));I=popup.calendar%.20Date_A2!Date_A02_*] (SNAP2) (Tanf2) (GA2) (FAMCARE2)  (ABD2){sp=5}{condition_begin=("Interview"$assign_type)}(Type2:In Person)(Type2:Telephone){condition_begin=(Type2="In Person")}{sp=4} [.15Time2]{condition_end}{condition_end};
    [.15Caseno3!caseno3_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP3}{font=arial,10,n}{color=black}  (IorO3:Intake)(IorO3:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A3));I=popup.calendar%.20Date_A3!Date_A03_*] (SNAP3) (Tanf3) (GA3) (FAMCARE3)  (ABD3){sp=5}{condition_begin=("Interview"$assign_type)}(Type3:In Person)(Type3:Telephone){condition_begin=(Type3="In Person")}{sp=4} [.15Time3]{condition_end}{condition_end};
    [.15Caseno4!caseno4_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP4}{font=arial,10,n}{color=black}  (IorO4:Intake)(IorO4:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A4));I=popup.calendar%.20Date_A4!Date_A04_*] (SNAP4) (Tanf4) (GA4) (FAMCARE4)  (ABD4){sp=5}{condition_begin=("Interview"$assign_type)}(Type4:In Person)(Type4:Telephone){condition_begin=(Type4="In Person")}{sp=4} [.15Time4]{condition_end}{condition_end};
    [.15Caseno5!caseno5_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP5}{font=arial,10,n}{color=black}  (IorO5:Intake)(IorO5:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A5));I=popup.calendar%.20Date_A5!Date_A05_*] (SNAP5) (Tanf5) (GA5) (FAMCARE5)  (ABD5){sp=5}{condition_begin=("Interview"$assign_type)}(Type5:In Person)(Type5:Telephone){condition_begin=(Type5="In Person")}{sp=4} [.15Time5]{condition_end}{condition_end};
    [.15Caseno6!caseno6_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP6}{font=arial,10,n}{color=black}  (IorO6:Intake)(IorO6:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A6));I=popup.calendar%.20Date_A6!Date_A06_*] (SNAP6) (Tanf6) (GA6) (FAMCARE6)  (ABD6){sp=5}{condition_begin=("Interview"$assign_type)}(Type6:In Person)(Type6:Telephone){condition_begin=(Type6="In Person")}{sp=4} [.15Time6]{condition_end}{condition_end};
    [.15Caseno7!caseno7_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP7}{font=arial,10,n}{color=black}  (IorO7:Intake)(IorO7:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A7));I=popup.calendar%.20Date_A7!Date_A07_*] (SNAP7) (Tanf7) (GA7) (FAMCARE7)  (ABd7){sp=5}{condition_begin=("Interview"$assign_type)}(Type7:In Person)(Type7:Telephone){condition_begin=(Type7="In Person")}{sp=4} [.15Time7]{condition_end}{condition_end};
    [.15Caseno8!caseno8_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP8}{font=arial,10,n}{color=black}  (IorO8:Intake)(IorO8:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A8));I=popup.calendar%.20Date_A8!Date_A08_*] (SNAP8) (Tanf8) (GA8) (FAMCARE8)  (ABD8){sp=5}{condition_begin=("Interview"$assign_type)}(Type8:In Person)(Type8:Telephone){condition_begin=(Type8="In Person")}{sp=4} [.15Time8]{condition_end}{condition_end};
    [.15Caseno9!caseno9_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP9}{font=arial,10,n}{color=black}  (IorO9:Intake)(IorO9:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A9));I=popup.calendar%.20Date_A9!Date_A09_*] (SNAP9) (Tanf9) (GA9) (FAMCARE9)  (ABD9){sp=5}{condition_begin=("Interview"$assign_type)}(Type9:In Person)(Type9:Telephone){condition_begin=(Type9="In Person")}{sp=4} [.15Time9]{condition_end}{condition_end};
    {condition_begin=("Process"$assign_type)}
    [.15Caseno10!caseno10_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP10}{font=arial,10,n}{color=black}  (IorO10:Intake)(IorO10:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A10));I=popup.calendar%.20Date_A10!Date_A10_*] (SNAP10) (Tanf10) (GA10) (FAMCARE10)  (ABD10);
    [.15Caseno11!caseno11_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP11}{font=arial,10,n}{color=black}  (IorO11:Intake)(IorO11:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A11));I=popup.calendar%.20Date_A11!Date_A11_*] (SNAP11) (Tanf11) (GA11) (FAMCARE11)  (ABD11);
    [.15Caseno12!caseno12_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP12}{font=arial,10,n}{color=black}  (IorO12:Intake)(IorO12:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A12));I=popup.calendar%.20Date_A12!Date_A12_*] (SNAP12) (Tanf12) (GA12) (FAMCARE12)  (ABD12);
    [.15Caseno13!caseno13_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP13}{font=arial,10,n}{color=black}  (IorO13:Intake)(IorO13:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A13));I=popup.calendar%.20Date_A13!Date_A13_*] (SNAP13) (Tanf13) (GA13) (FAMCARE13)  (ABD13);
    [.15Caseno14!caseno14_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP14}{font=arial,10,n}{color=black}  (IorO14:Intake)(IorO14:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A14));I=popup.calendar%.20Date_A14!Date_A14_*] (SNAP14) (Tanf14) (GA14) (FAMCARE14)  (ABd14);
    [.15Caseno15!caseno15_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP15}{font=arial,10,n}{color=black}  (IorO15:Intake)(IorO15:Ongoing)|[%DATE;P=popup.calendar(dtoc(Date_A15));I=popup.calendar%.20Date_A15!Date_A15_*] (SNAP15) (Tanf15) (GA15) (FAMCARE15)  (ABd15){condition_end};
    {endregion};
    {lf};
    {region}
    {FRAME=1,1: ERROR MESSAGES }
    {font=arial,10,b}{color=red}{text=140,4:err_txt}{font=arial,10,n}{color=black};
    {lf};
    {endregion};
    {lf};
    {line=1,0};
    {region}
    <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL> 
    {endregion};
    %dlg%,<<%code%
    I've attached snapshots of the new and old dialogs.

    Any help is greatly appreciated.

    Tom
    Attached Files

    #2
    Re: Controlling Tabs on xDialog

    {xpad} controls the width of columns but I don't see a position setting. I think you'll just have to use spaces.

    Code:
    dim shared a_dlg_button as C
    Delete XdialogStyle
    dim XDialogStyle as p
    XDialogStyle.AccentColor = "White"
    XDialogStyle.Color = "#254+254+193"
    varC_result = ui_dlg_box(agency+" Case Tracking System",<<%dlg%
    {Windowstyle=Gradient Horizontal Top}
    {region}
    {font=arial,10}
    {text=60,2:heading_string};
    {endregion};
    {region}
    {text=24:I_P_Heading}{sp=5} [%DATE;P=popup.calendar(dtoc(Int_Date));I=popup.calendar%.20Int_Date]{sp=10}Select Assigned Worker: [%@Worker_rl_def%.40,5Worker];
    {lf};
    {line=2,1}
    {lf};
    {sp=20}Case Tracking{sp=11}Please Select{sp=15}app/redet/recert/CRL        ------------ Programs ------------ ;
    Case Number{sp=7}Record{sp=14}Intake or Ongoing{sp=14}Date                  SNAP TANF GA FamCare  ABD{sp=8} {condition_begin=("Interview"$assign_type)}Interview Type{sp=17}Interview Time {condition_end};
    {line=2,1};
    [.15Caseno1!caseno1_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP1}{font=arial,10,n}{color=black}  (IorO1:Intake)(IorO1:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A1));I=popup.calendar%.20Date_A1!Date_A01_*] (SNAP1) (Tanf1) (GA1) (FAMCARE1)  (ABD1){sp=5}{condition_begin=("Interview"$assign_type)}(Type1:In Person)(Type1:Telephone){condition_begin=(Type1="In Person")}{sp=4} [.15Time1]{condition_end}{condition_end};
    [.15Caseno2!caseno2_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP2}{font=arial,10,n}{color=black}  (IorO2:Intake)(IorO2:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A2));I=popup.calendar%.20Date_A2!Date_A02_*] (SNAP2) (Tanf2) (GA2) (FAMCARE2)  (ABD2){sp=5}{condition_begin=("Interview"$assign_type)}(Type2:In Person)(Type2:Telephone){condition_begin=(Type2="In Person")}{sp=4} [.15Time2]{condition_end}{condition_end};
    [.15Caseno3!caseno3_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP3}{font=arial,10,n}{color=black}  (IorO3:Intake)(IorO3:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A3));I=popup.calendar%.20Date_A3!Date_A03_*] (SNAP3) (Tanf3) (GA3) (FAMCARE3)  (ABD3){sp=5}{condition_begin=("Interview"$assign_type)}(Type3:In Person)(Type3:Telephone){condition_begin=(Type3="In Person")}{sp=4} [.15Time3]{condition_end}{condition_end};
    [.15Caseno4!caseno4_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP4}{font=arial,10,n}{color=black}  (IorO4:Intake)(IorO4:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A4));I=popup.calendar%.20Date_A4!Date_A04_*] (SNAP4) (Tanf4) (GA4) (FAMCARE4)  (ABD4){sp=5}{condition_begin=("Interview"$assign_type)}(Type4:In Person)(Type4:Telephone){condition_begin=(Type4="In Person")}{sp=4} [.15Time4]{condition_end}{condition_end};
    [.15Caseno5!caseno5_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP5}{font=arial,10,n}{color=black}  (IorO5:Intake)(IorO5:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A5));I=popup.calendar%.20Date_A5!Date_A05_*] (SNAP5) (Tanf5) (GA5) (FAMCARE5)  (ABD5){sp=5}{condition_begin=("Interview"$assign_type)}(Type5:In Person)(Type5:Telephone){condition_begin=(Type5="In Person")}{sp=4} [.15Time5]{condition_end}{condition_end};
    [.15Caseno6!caseno6_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP6}{font=arial,10,n}{color=black}  (IorO6:Intake)(IorO6:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A6));I=popup.calendar%.20Date_A6!Date_A06_*] (SNAP6) (Tanf6) (GA6) (FAMCARE6)  (ABD6){sp=5}{condition_begin=("Interview"$assign_type)}(Type6:In Person)(Type6:Telephone){condition_begin=(Type6="In Person")}{sp=4} [.15Time6]{condition_end}{condition_end};
    [.15Caseno7!caseno7_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP7}{font=arial,10,n}{color=black}  (IorO7:Intake)(IorO7:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A7));I=popup.calendar%.20Date_A7!Date_A07_*] (SNAP7) (Tanf7) (GA7) (FAMCARE7)  (ABd7){sp=5}{condition_begin=("Interview"$assign_type)}(Type7:In Person)(Type7:Telephone){condition_begin=(Type7="In Person")}{sp=4} [.15Time7]{condition_end}{condition_end};
    [.15Caseno8!caseno8_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP8}{font=arial,10,n}{color=black}  (IorO8:Intake)(IorO8:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A8));I=popup.calendar%.20Date_A8!Date_A08_*] (SNAP8) (Tanf8) (GA8) (FAMCARE8)  (ABD8){sp=5}{condition_begin=("Interview"$assign_type)}(Type8:In Person)(Type8:Telephone){condition_begin=(Type8="In Person")}{sp=4} [.15Time8]{condition_end}{condition_end};
    [.15Caseno9!caseno9_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP9}{font=arial,10,n}{color=black}  (IorO9:Intake)(IorO9:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A9));I=popup.calendar%.20Date_A9!Date_A09_*] (SNAP9) (Tanf9) (GA9) (FAMCARE9)  (ABD9){sp=5}{condition_begin=("Interview"$assign_type)}(Type9:In Person)(Type9:Telephone){condition_begin=(Type9="In Person")}{sp=4} [.15Time9]{condition_end}{condition_end};
    {condition_begin=("Process"$assign_type)}
    [.15Caseno10!caseno10_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP10}{font=arial,10,n}{color=black}  (IorO10:Intake)(IorO10:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A10));I=popup.calendar%.20Date_A10!Date_A10_*] (SNAP10) (Tanf10) (GA10) (FAMCARE10)  (ABD10);
    [.15Caseno11!caseno11_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP11}{font=arial,10,n}{color=black}  (IorO11:Intake)(IorO11:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A11));I=popup.calendar%.20Date_A11!Date_A11_*] (SNAP11) (Tanf11) (GA11) (FAMCARE11)  (ABD11);
    [.15Caseno12!caseno12_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP12}{font=arial,10,n}{color=black}  (IorO12:Intake)(IorO12:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A12));I=popup.calendar%.20Date_A12!Date_A12_*] (SNAP12) (Tanf12) (GA12) (FAMCARE12)  (ABD12);
    [.15Caseno13!caseno13_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP13}{font=arial,10,n}{color=black}  (IorO13:Intake)(IorO13:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A13));I=popup.calendar%.20Date_A13!Date_A13_*] (SNAP13) (Tanf13) (GA13) (FAMCARE13)  (ABD13);
    [.15Caseno14!caseno14_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP14}{font=arial,10,n}{color=black}  (IorO14:Intake)(IorO14:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A14));I=popup.calendar%.20Date_A14!Date_A14_*] (SNAP14) (Tanf14) (GA14) (FAMCARE14)  (ABd14);
    [.15Caseno15!caseno15_*]{sp=6}{font=arial,11,b}{color=Blue}{text=15,1:TEMP15}{font=arial,10,n}{color=black}  (IorO15:Intake)(IorO15:Ongoing){sp=10}[%DATE;P=popup.calendar(dtoc(Date_A15));I=popup.calendar%.20Date_A15!Date_A15_*] (SNAP15) (Tanf15) (GA15) (FAMCARE15)  (ABd15){condition_end};
    {endregion};
    {lf};
    {region}
    {FRAME=1,1: ERROR MESSAGES }
    {font=arial,10,b}{color=red}{text=140,4:err_txt}{font=arial,10,n}{color=black};
    {lf};
    {endregion};
    {lf};
    {line=1,0};
    {region}
    <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL> 
    {endregion};
    %dlg%)
    Image 5.png
    There can be only one.

    Comment


      #3
      Re: Controlling Tabs on xDialog

      Stan, I went with your spacing method. It's a bit trickier than tabs, but the outcome looks pretty good.

      Thanks,

      Tom
      Attached Files

      Comment


        #4
        Re: Controlling Tabs on xDialog

        Does look nice.

        I spent some time trying to do regions and frames around them but don't know enough to get it right.
        There can be only one.

        Comment


          #5
          Re: Controlling Tabs on xDialog

          Thanks for trying, but sometimes, brute force is the most expedient method

          Comment


            #6
            Re: Controlling Tabs on xDialog

            Here's what I was working on but I can't figure out why the first column is so wide.

            Code:
            agency = "ABC"
            caseno1 = 124567
            dim shared a_dlg_button as C
            Delete XdialogStyle
            dim XDialogStyle as p
            XDialogStyle.AccentColor = "White"
            XDialogStyle.Color = "#254+254+193"
            varC_result = ui_dlg_box(agency+" Case Tracking System",<<%dlg%
            {Windowstyle=Gradient Horizontal Top}
            {region1}
            {font=arial,10}
            {text=60,2:heading_string};
            {endregion1};
            {region2}
            {text=24:I_P_Heading}{sp=5} [%DATE;P=popup.calendar(dtoc(Int_Date));I=popup.calendar%.20Int_Date]{sp=10}Select Assigned Worker: [%@Worker_rl_def%.40,5Worker];
            {lf};
            {line=2,1}
            {lf};
            {endregion2}
            {lf};
            {REGION_XMARGIN=2}
            {frame=1,1:Column 1}
            {region3}
            [.15Caseno1!caseno1_*];
            [.15Caseno2!caseno2_*];
            [.15Caseno3!caseno3_*];
            [.15Caseno4!caseno4_*];
            [.15Caseno5!caseno5_*];
            [.15Caseno6!caseno6_*];
            [.15Caseno7!caseno7_*];
            [.15Caseno8!caseno8_*];
            [.15Caseno9!caseno9_*];
            {condition_begin=("Process"$assign_type)}
            [.15Caseno10!caseno10_*];
            [.15Caseno11!caseno11_*];
            [.15Caseno12!caseno12_*];
            [.15Caseno13!caseno13_*];
            [.15Caseno14!caseno14_*];
            [.15Caseno15!caseno15_*]
            {condition_end}
            {endregion3}|{sp}|
            {frame=1,1:Column 2}
            {region6}
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP1}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP2}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP3}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP4}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP5}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP6}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP7}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP8}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP9}{font=arial,10,n}{color=black};
            {condition_begin=("Process"$assign_type)}
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP10}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP11}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP12}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP13}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP14}{font=arial,10,n}{color=black};
            {font=arial,11,b}{color=Blue}{text=15,1:TEMP15}{font=arial,10,n}{color=black}
            {condition_end}
            {endregion6}|{sp}|
            {frame=1,1:Third Column}
            {region7}
            (IorO1:Intake)(IorO1:Ongoing);
            (IorO2:Intake)(IorO2:Ongoing);
            (IorO3:Intake)(IorO3:Ongoing);
            (IorO4:Intake)(IorO4:Ongoing);
            (IorO5:Intake)(IorO5:Ongoing);
            (IorO6:Intake)(IorO6:Ongoing);
            (IorO7:Intake)(IorO7:Ongoing);
            (IorO8:Intake)(IorO8:Ongoing);
            (IorO9:Intake)(IorO9:Ongoing);
            {condition_begin=("Process"$assign_type)}
            (IorO10:Intake)(IorO10:Ongoing);
            (IorO11:Intake)(IorO11:Ongoing);
            (IorO12:Intake)(IorO12:Ongoing);
            (IorO13:Intake)(IorO13:Ongoing);
            (IorO14:Intake)(IorO14:Ongoing);
            (IorO15:Intake)(IorO15:Ongoing)
            {condition_end}
            {endregion7}
            {lf};
            {region4}
            {FRAME=1,1: ERROR MESSAGES }
            {font=arial,10,b}{color=red}{text=140,4:err_txt}{font=arial,10,n}{color=black};
            {lf};
            {endregion4};
            {lf};
            {line=1,0};
            {region5}
            <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL> 
            {endregion5};
            %dlg%)
            There can be only one.

            Comment


              #7
              Re: Controlling Tabs on xDialog

              It's looking at the size of the error region. region4

              Wrap a region around the regions above region4 starting at line 21

              Code:
              agency = "ABC"
              caseno1 = 124567
              dim shared a_dlg_button as C
              Delete XdialogStyle
              dim XDialogStyle as p
              XDialogStyle.AccentColor = "White"
              XDialogStyle.Color = "#254+254+193"
              varC_result = ui_dlg_box(agency+" Case Tracking System",<<%dlg%
              {Windowstyle=Gradient Horizontal Top}
              {region1}
              {font=arial,10}
              {text=60,2:heading_string};
              {endregion1};
              {region2}
              {text=24:I_P_Heading}{sp=5} [%DATE;P=popup.calendar(dtoc(Int_Date));I=popup.calendar%.20Int_Date]{sp=10}Select Assigned Worker: [%@Worker_rl_def%.40,5Worker];
              {lf};
              {line=2,1}
              {lf};
              {endregion2}
              {lf};
              {region100}
              {REGION_XMARGIN=2}
              {frame=1,1:Column 1}
              {region3}
              [.15Caseno1!caseno1_*];
              [.15Caseno2!caseno2_*];
              [.15Caseno3!caseno3_*];
              [.15Caseno4!caseno4_*];
              [.15Caseno5!caseno5_*];
              [.15Caseno6!caseno6_*];
              [.15Caseno7!caseno7_*];
              [.15Caseno8!caseno8_*];
              [.15Caseno9!caseno9_*];
              {condition_begin=("Process"$assign_type)}
              [.15Caseno10!caseno10_*];
              [.15Caseno11!caseno11_*];
              [.15Caseno12!caseno12_*];
              [.15Caseno13!caseno13_*];
              [.15Caseno14!caseno14_*];
              [.15Caseno15!caseno15_*]
              {condition_end}
              {endregion3}|{sp}|
              {frame=1,1:Column 2}
              {region6}
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP1}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP2}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP3}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP4}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP5}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP6}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP7}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP8}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP9}{font=arial,10,n}{color=black};
              {condition_begin=("Process"$assign_type)}
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP10}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP11}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP12}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP13}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP14}{font=arial,10,n}{color=black};
              {font=arial,11,b}{color=Blue}{text=15,1:TEMP15}{font=arial,10,n}{color=black}
              {condition_end}
              {endregion6}|{sp}|
              {frame=1,1:Third Column}
              {region7}
              (IorO1:Intake)(IorO1:Ongoing);
              (IorO2:Intake)(IorO2:Ongoing);
              (IorO3:Intake)(IorO3:Ongoing);
              (IorO4:Intake)(IorO4:Ongoing);
              (IorO5:Intake)(IorO5:Ongoing);
              (IorO6:Intake)(IorO6:Ongoing);
              (IorO7:Intake)(IorO7:Ongoing);
              (IorO8:Intake)(IorO8:Ongoing);
              (IorO9:Intake)(IorO9:Ongoing);
              {condition_begin=("Process"$assign_type)}
              (IorO10:Intake)(IorO10:Ongoing);
              (IorO11:Intake)(IorO11:Ongoing);
              (IorO12:Intake)(IorO12:Ongoing);
              (IorO13:Intake)(IorO13:Ongoing);
              (IorO14:Intake)(IorO14:Ongoing);
              (IorO15:Intake)(IorO15:Ongoing)
              {condition_end}
              {endregion7}
              {endregion100}
              {lf};
              {region4}
              {FRAME=1,1: ERROR MESSAGES }
              {font=arial,10,b}{color=red}{text=140,4:err_txt}{font=arial,10,n}{color=black};
              {lf};
              {endregion4};
              {lf};
              {line=1,0};
              {region5}
              <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL> 
              {endregion5};
              %dlg%)
              Last edited by Al Buchholz; 02-23-2018, 05:06 PM.
              Al Buchholz
              Bookwood Systems, LTD
              Weekly QReportBuilder Webinars Thursday 1 pm CST

              Occam's Razor - KISS
              Normalize till it hurts - De-normalize till it works.
              Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
              When we triage a problem it is much easier to read sample systems than to read a mind.
              "Make it as simple as possible, but not simpler."
              Albert Einstein

              http://www.iadn.com/images/media/iadn_member.png

              Comment


                #8
                Re: Controlling Tabs on xDialog

                I thought so as well but see the same wide column if I completely remove the error message region.
                There can be only one.

                Comment


                  #9
                  Re: Controlling Tabs on xDialog

                  Originally posted by Stan Mathews View Post
                  I thought so as well but see the same wide column if I completely remove the error message region.
                  I posted an example after your post.
                  Al Buchholz
                  Bookwood Systems, LTD
                  Weekly QReportBuilder Webinars Thursday 1 pm CST

                  Occam's Razor - KISS
                  Normalize till it hurts - De-normalize till it works.
                  Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                  When we triage a problem it is much easier to read sample systems than to read a mind.
                  "Make it as simple as possible, but not simpler."
                  Albert Einstein

                  http://www.iadn.com/images/media/iadn_member.png

                  Comment


                    #10
                    Re: Controlling Tabs on xDialog

                    Thanks for that but I don't understand why that changes the width. I will have to study it.

                    Now to look at lining up the radio buttons with the fields in the first column.

                    Some lf= seems to take care of the vertical spacing. Not sure the condition - end condition is working.

                    Code:
                    'Date Created: 23-Feb-2018 05:55:56 PM
                    'Last Updated: 23-Feb-2018 05:55:56 PM
                    'Created By  : Stan
                    'Updated By  : Stan
                    agency = "ABC"
                    caseno1 = 124567
                    dim shared a_dlg_button as C
                    Delete XdialogStyle
                    dim XDialogStyle as p
                    XDialogStyle.AccentColor = "White"
                    XDialogStyle.Color = "#254+254+193"
                    varC_result = ui_dlg_box(agency+" Case Tracking System",<<%dlg%
                    {Windowstyle=Gradient Horizontal Top}
                    {region1}
                    {font=arial,10}
                    {text=60,2:heading_string};
                    {endregion1};
                    {region2}
                    {text=24:I_P_Heading}{sp=5} [%DATE;P=popup.calendar(dtoc(Int_Date));I=popup.calendar%.20Int_Date]{sp=10}Select Assigned Worker: [%@Worker_rl_def%.40,5Worker];
                    {lf};
                    {line=2,1}
                    {lf};
                    {endregion2}
                    {lf};
                    {region100}
                    {REGION_XMARGIN=2}
                    {frame=1,1:Column 1}
                    {region3}
                    [.15Caseno1!caseno1_*];
                    [.15Caseno2!caseno2_*];
                    [.15Caseno3!caseno3_*];
                    [.15Caseno4!caseno4_*];
                    [.15Caseno5!caseno5_*];
                    [.15Caseno6!caseno6_*];
                    [.15Caseno7!caseno7_*];
                    [.15Caseno8!caseno8_*];
                    [.15Caseno9!caseno9_*];
                    {condition_begin=("Process"$assign_type)}
                    [.15Caseno10!caseno10_*];
                    [.15Caseno11!caseno11_*];
                    [.15Caseno12!caseno12_*];
                    [.15Caseno13!caseno13_*];
                    [.15Caseno14!caseno14_*];
                    [.15Caseno15!caseno15_*]
                    {condition_end}
                    {endregion3}|{sp}|
                    {frame=1,1:Column 2}
                    {region6}
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP1}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP2}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP3}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP4}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP5}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP6}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP7}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP8}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP9}{font=arial,10,n}{color=black};
                    {condition_begin=("Process"$assign_type)}
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP10}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP11}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP12}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP13}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP14}{font=arial,10,n}{color=black};
                    {font=arial,11,b}{color=Blue}{text=15,1:TEMP15}{font=arial,10,n}{color=black}
                    {condition_end}
                    {endregion6}|{sp}|
                    {frame=1,1:Third Column}
                    {region7}
                    {lf=1}
                    (IorO1:Intake)(IorO1:Ongoing);
                    {lf=1}
                    (IorO2:Intake)(IorO2:Ongoing);
                    {lf=1}
                    (IorO3:Intake)(IorO3:Ongoing);
                    {lf=1}
                    (IorO4:Intake)(IorO4:Ongoing);
                    {lf=1}
                    (IorO5:Intake)(IorO5:Ongoing);
                    {lf=1}
                    (IorO6:Intake)(IorO6:Ongoing);
                    {lf=1}
                    (IorO7:Intake)(IorO7:Ongoing);
                    {lf=1}
                    (IorO8:Intake)(IorO8:Ongoing);
                    {lf=1}
                    (IorO9:Intake)(IorO9:Ongoing);
                    {lf=1}
                    {condition_begin=("Process"$assign_type)}
                    (IorO10:Intake)(IorO10:Ongoing);
                    {lf=1}
                    (IorO11:Intake)(IorO11:Ongoing);
                    {lf=1}
                    (IorO12:Intake)(IorO12:Ongoing);
                    {lf=1}
                    (IorO13:Intake)(IorO13:Ongoing);
                    {lf=1}
                    (IorO14:Intake)(IorO14:Ongoing);
                    {lf=1}
                    (IorO15:Intake)(IorO15:Ongoing)
                    {condition_end}
                    {endregion7}
                    {endregion100}
                    {lf};
                    {region4}
                    {FRAME=1,1: ERROR MESSAGES }
                    {font=arial,10,b}{color=red}{text=140,4:err_txt}{font=arial,10,n}{color=black};
                    {lf};
                    {endregion4};
                    {lf};
                    {line=1,0};
                    {region5}
                    <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL> 
                    {endregion5};
                    %dlg%)
                    Last edited by Stan Mathews; 02-23-2018, 08:27 PM.
                    There can be only one.

                    Comment


                      #11
                      Re: Controlling Tabs on xDialog

                      Al and Stan,

                      Thanks for all your effort. Those look great.
                      I guess I should have been looking at things vertically instead of horizontally. I just was looking at lines of information as a "unit" instead of looking at individual fields.

                      Tom

                      Comment

                      Working...
                      X