Welcome! Log In Create A New Profile

Advanced

Button inside each row of a table

Posted by Paul Turner 
Paul Turner
Button inside each row of a table
July 15, 2008 09:38AM
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
Louis Verbraak
Re: Button inside each row of a table
July 15, 2008 10:00AM
Hello Paul,

I don't know if it is general practice, but I use an image indeed.
Karl
Re: Button inside each row of a table
July 15, 2008 10:03AM
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
Leo
Re: Button inside each row of a table
July 22, 2008 03:57PM
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'
issah
Re: Button inside each row of a table
July 22, 2008 07:43PM
Have you considered a combo box? They can be defined in table rows and can also call windows.

issah
Paul Turner
Re: Button inside each row of a table
July 24, 2008 11:14AM
As far as I can see the 'call a window' option is not available for combo boxes inside tables.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: