![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a single column single row table and want to pick up the column value to a textbox by clicking on it. I failed to do the same. If I add another column, select the second column value first and then the first column value then it works. Please help.
regards, |
|
||||
|
You can use the Click event instead of the SelectionChanged event.
Table - MouseDown event and more |
|
||||
|
As an alternative - you could create a second column of width zero (hidden). When the table is created, set one of the cells in the zero-width column as the selected cell. In the SelectionChanged routine, you should also set the selected cell to the zero-width cell on the same row. This ensures that no matter what cell you click on, the SelectionChanged event gets raised.
Make sense? Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Appending a hidden column | mozaharul | Questions & Help Needed | 3 | 05-14-2008 04:48 PM |
| Column names in a table | pmu5757 | Questions & Help Needed | 2 | 05-07-2008 03:50 PM |
| Tables - column position | LineCutter | Questions & Help Needed | 6 | 02-22-2008 03:30 PM |
| Remove Column | derez | Bug Reports | 1 | 11-01-2007 06:16 PM |
| is a single character string a number as well? | Stellaferox | Questions & Help Needed | 16 | 06-08-2007 12:01 PM |