Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No any improve?! urgent!
Message
From
17/01/2000 06:38:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/01/2000 02:31:33
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00316739
Message ID:
00318883
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform