Alpha Video Training
Results 1 to 3 of 3

Thread: Position Xdialog box

  1. #1
    Member
    Real Name
    John Kukuda
    Join Date
    Dec 2004
    Location
    Tampa, FL
    Posts
    487

    Default Position Xdialog box

    Her is the code for my xdialog box.

    PHP Code:
    ['Get Agents Name
    DIM GLOBAL vtypein as C
    DIM GLOBAL vSelect as C
    DIM GLOBAL varC_result as C
    vtypein = "A"
    ok_button_label = "&OK"
    cancel_button_label = "&Cancel"
    DIM vSelect_rl_def as C 
    vSelect_rl_def = "kl=agents,{keylist_build(\"H=.05,1:25[Agent]\",''+Agent,left(''+Agent,25))}{}"
    varC_result = ui_dlg_box("Agent Lookup",<<%dlg%
    {region}
    {Region}
    ;
    {Endregion};
    {Region}
    Enter Agent Initials:| [.15vtypein];
    :| [%@vSelect_rl_def%.30,5vSelect];
    {Endregion}; 
    {Region}
    ;
    {Endregion};
    {line=1,0};
    <*15=ok_button_label!OK> <15=cancel_button_label!CANCEL>;
    {endregion};
    %dlg%) 
    How do I position this where I want on the screen?

  2. #2
    "Certified" Alphaholic Tim Kiebert's Avatar
    Real Name
    Tim Kiebert
    Join Date
    Jul 2004
    Location
    Geelong, Victoria, Australia
    Posts
    2,785

    Default Re: Position Xdialog box

    Check out the {Position=} command
    Tim Kiebert
    Eagle Creek Citrus
    A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

  3. #3
    Member
    Real Name
    John Kukuda
    Join Date
    Dec 2004
    Location
    Tampa, FL
    Posts
    487

    Default Re: Position Xdialog box

    Thanks Tim, exactly what I was looking for

Similar Threads

  1. Image Position in XDialog
    By MCBrown in forum Alpha Five Version 8
    Replies: 4
    Last Post: 11-15-2007, 08:46 PM
  2. XDialog Box current box position?
    By csda1 in forum Alpha Five Version 8
    Replies: 6
    Last Post: 05-30-2007, 03:21 PM
  3. XDialog Position
    By Charles Hoens in forum Alpha Five Version 6
    Replies: 3
    Last Post: 12-19-2005, 03:27 PM
  4. xdialog {position=}
    By Tim Kiebert in forum Alpha Five Version 7
    Replies: 5
    Last Post: 10-06-2005, 04:21 PM
  5. XDialog Box Position
    By Tom Henkel in forum Alpha Five Version 5
    Replies: 2
    Last Post: 05-11-2004, 09:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •