PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Button inside each row of a table
Button inside each row of a table
Débuté par Paul Turner, 15 juil. 2008 11:53 - 5 réponses
Posté le 15 juillet 2008 - 11:53
Hi all,
I want to have a button in each row of a table, so the user can call a lookup window when entering information into a row. I wouldn't have thought this was an unusual requirement, but Windev doesn't have a button as a standard control inside a table.
How is this generally done with windev? An image control inside a row with underlying code?
Rgds
Paul Turner
Posté le 15 juillet 2008 - 12:32
Hi Paul
with TableInfoXY you can tell the row and column of the cell where your rodent is, thereafter
by trapping mouse down, up, double click, etc. you can decide on what procedure or window you need to call.
at this stage I think you can embed images into list and combo boxes, but not into table cells directly
rgds
Karl
Posté le 15 juillet 2008 - 12:32
Hello Paul,
I don't know if it is general practice, but I use an image indeed.
Posté le 22 juillet 2008 - 18:28
No need for XY, mouse down, etc ...
If you assign an image to a column, a Click event is created for that column:
select the column and press F2
or select the column, click right and select 'Code'
Posté le 23 juillet 2008 - 09:26
Have you considered a combo box? They can be defined in table rows and can also call windows.
issah
Posté le 24 juillet 2008 - 13:52
As far as I can see the 'call a window' option is not available for combo boxes inside tables.