Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a control at design time
Message
From
29/07/2003 08:32:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/07/2003 07:34:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00814158
Message ID:
00814470
Views:
8
>Hi Tamar,
>thanks very much. I never imagined that it was so easy.
>Let me ask you just another little thing.
>
>Do you know how can I select two or more controls at same time?????
>
>If I set the focus to the second one the first one lose the focus.
>
>Thanks.
>Ricardo.

You could shift+click to select multiple controls. ie:
Aselobj(arrObj,1)
For ix = 1 To 5
  arrObj[1].AddObject('txtTest'+Ltrim(Str(ix)),'TextBox')
  oObj = Evaluate('arrObj[1].txtTest'+Ltrim(Str(ix)))
  With oObj
    .Top = (ix-1) * (.Height+5) + 10
    .Left = 20

    Mouse Click At ;
      Objtoclient(oObj,1)+5,;
      Objtoclient(oObj,2)+5 ;
      window (arrObj[1].Name) ;
      pixels shift
  Endwith
Endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform