Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box value
Message
De
06/12/2004 06:02:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/12/2004 05:54:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00967070
Message ID:
00967083
Vues:
6
>visible=.t.
>The problem not resolved.

Yes but that doesn't help me to understand the problem. How to reproduce it?

PS:
Public oForm
oForm = Createobject('myForm')
oForm.Show

Define Class myForm As Form
  DataSession = 2
  Height=300
  Width=300

  Add Object myButton As CommandButton With Caption="Mark All"
  Add Object myGrid As Grid With Width=300,Height=200,Top=50

  Procedure Load
    Create Cursor test (myLogical l, myValue c(10))
    For ix=1 To 100
      Insert Into test Values (Int(Rand()*100)%2 = 0, Sys(2015))
    Endfor
    Locate
  Endproc

  Procedure Init
    With This.myGrid.Columns(1)
      .AddObject("mycheck","CheckBox")
      .CurrentControl = "myCheck"
      .Sparse=.F.
      .myCheck.Caption = ''
      .myCheck.Visible = .T.
    Endwith
  EndProc
  
  Procedure myButton.Click
  Update (thisform.myGrid.Recordsource) set myLogical= .t.
  thisform.myGrid.Refresh()
endproc
Enddefine
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