Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing popup bar default value
Message
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01099433
Message ID:
01099441
Views:
10
This message has been marked as the solution to the initial question of the thread.
Try
m.SelItem = 5
activate popup porder BAR (m.SelItem)
>
>The code below creates a mover popup bar. How do I get the popup to default to any other line than this first one?
>
>TIA
>
>
>select promhead
>define popup porder in screen from 2,5 to 22,75 margin shadow mover FOOTER 'PRESS ESC TO EXIT'
>@0,0 SAY PADC('MOVE HIGHLIGHT TO PROMOTION YOU WISH TO MOVE & PRESS CTLR KEY',WCOLS())
>@1,0 SAY PADC('HOLD CTRL KEY DOWN & MOVE TO NEW POSITION- RELEASE KEYS',WCOLS())
>x=1
>scan
> repl sess_order with x
> define bar x of porder prompt str(session,6)+'³'+rate+subrate+"³"+dtoc(opening)+"³"+dtoc(closing)+"³"+desc
> x=x+1
>endscan
>x=x-1
>activate popup porder
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform