Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting a control at design time
Message
De
29/07/2003 08:32:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/07/2003 07:34:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00814158
Message ID:
00814470
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform