How to Change TsBrowse Columns dynamically from its Dialog.
Posted: Thu Mar 23, 2006 5:02 pm
Hi All
Can anybody help me out from the problem defined below:
How I can change the TsBrowse Columns dynamically?
I have dialog from resource and I have some radio buttons
representing 1, 2, 3. I have also a TsBrowse on the same
dialog.
My requirement is"
If I press 1st radio button, only the 1st field from
the database is to be showm in the browser.
Again if I click on the 2nd radio button 1st two
fields of the databse are to be shown in the browser.
Like-wise if I click on the 3rd radio button 1st three
Columns of the databse are to be shown in the browser
dynamically.
Following link provides TSBTEST.ZIP containing
the TSBTEST.PRG TSBTEST.RC TSBTEST.DBF and TSBTEST.EXE
http://hyperupload.com/download/024a1f6 ... t.zip.html
Please note I have used "ACTIVATE DIALOG oDlg CENTERED" in 2nd
function to dimonstrate the functionality need, even though
it is not correct ( I believe! ).
You can test it with Tsbrowse 6.00, 6.01 or higher versions and suggest
me the correct solution to my problem.
Thanks in advance
- Ramesh Babu P
Can anybody help me out from the problem defined below:
How I can change the TsBrowse Columns dynamically?
I have dialog from resource and I have some radio buttons
representing 1, 2, 3. I have also a TsBrowse on the same
dialog.
My requirement is"
If I press 1st radio button, only the 1st field from
the database is to be showm in the browser.
Again if I click on the 2nd radio button 1st two
fields of the databse are to be shown in the browser.
Like-wise if I click on the 3rd radio button 1st three
Columns of the databse are to be shown in the browser
dynamically.
Following link provides TSBTEST.ZIP containing
the TSBTEST.PRG TSBTEST.RC TSBTEST.DBF and TSBTEST.EXE
http://hyperupload.com/download/024a1f6 ... t.zip.html
Please note I have used "ACTIVATE DIALOG oDlg CENTERED" in 2nd
function to dimonstrate the functionality need, even though
it is not correct ( I believe! ).
You can test it with Tsbrowse 6.00, 6.01 or higher versions and suggest
me the correct solution to my problem.
Thanks in advance
- Ramesh Babu P