Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No any improve?! urgent!
Message
De
17/01/2000 06:38:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/01/2000 02:31:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00316739
Message ID:
00318883
Vues:
22
>any method can check the class of textbox is added into the gird or not?!


Many ways to check that :
llIsAdded = ( type("thisform.myGrid.columns(ix).myText1.name") = "C" )
* Or
llIsAdded = ( type("thisform.myGrid.columns(ix).myText1") = "O" ;
 and !isnull(thisform.myGrid.columns(ix).myText1) ;
 and lower(thisform.myGrid.columns(ix).myText1.class) = "textcl")
* Or
for each oColumn in thisform.myGrid
  llIsAdded = .f.
  for each oControl in oColumn.Controls
      if lower(oControl.class) = "textcl"
         llIsAdded = .t.
      endif
  endfor
  if !llIsAdded && Not added to this column
     messagebox("Not added to column "+str(ix,2))
  endif
endfor
*etc
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
Répondre
Fil
Voir

Click here to load this message in the networking platform