Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addobject
Message
From
08/05/2004 09:14:34
 
 
To
08/05/2004 09:11:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00902162
Message ID:
00902182
Views:
35
The one with one > less
>>   .column1.check1.Visible = .T.
>>Patrick,
>>
>>I have added a line to your code. Want to try it ?
>
>
>what line of code ?
>
>>
>>>Hi all
>>>
>>>Whenever i adding a checkbox to the grid using addobject,
>>>Why the value in the checkbox cannot be change or i missed out something ?
>>>
>>>
>>>thisform.mygrid1.columncount = -1
>>>thisform.mygrid1.recordsource = ''
>>>select fromyr
>>>With Thisform.mygrid1
>>>  .RecordSource = 'fromyr'
>>>  .ColumnCount = 2
>>>  .column1.controlsource = 'fromyr.chk'
>>>  .column1.header1.Caption = ''
>>>  .column1.removeobject('text1')
>>>  .column1.addobject('check1','checkbox')
>>>  .column1.check1.caption = ''
>>   .column1.check1.Visible = .T.
>>>  .column1.sparse = .F.
>>>  .column1.readonly = .F.
>>>  .column2.ControlSource = 'fromyr.kodid'
>>>  .column2.header1.Caption = 'Course ID'
>>>  .column2.Width = 120
>>>  .column2.alignment = 2
>>>  .column2.readonly = .T.
>>>endwith
>>>
>>>
>>>Thanks
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform