Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box value
Message
From
06/12/2004 06:02:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/12/2004 05:54:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00967070
Message ID:
00967083
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform