PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → WebDev Resizable tables \ Split bars
WebDev Resizable tables \ Split bars
Iniciado por Kevin Erskine, 21,feb. 2009 11:42 - 3 respuestas
Publicado el 21,febrero 2009 - 11:42
Can the curretn version of WebDev 12 (or new WebDev14) create a page that has several tables on it and allow the user to resize the tables to allow more records in one and less in another. Something like a split bar works on framed pages? This would be on a dynamic web page.

Thanks for your time and effort in this question;
Kevin Erskine
Publicado el 21,febrero 2009 - 15:32
Hi kevin...

I'm not sure if that would work (haven't tried it), but here is
something to try:

- Use an image for the splitter, and set it up in its description as
'movable by the user'

- If there is an event when the image is moved (I doubt it), use it to
change the size + position of the tables by code, if not, you'll have to
start a timer when the user clicks on the image, and code your moving
and resizing in it

Now the big question is "Will the resized tables behave correctly? (ie
display the new number of records, and so on"... I'm guessing that for
that each table would have to be set up as proportional to the size of
the page (% and not pixels)

good luck, and keep us posted

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


Kevin Erskine wrote:
Can the curretn version of WebDev 12 (or new WebDev14) create a page that has several tables on it and allow the user to resize the tables to allow more records in one and less in another. Something like a split bar works on framed pages? This would be on a dynamic web page.

Thanks for your time and effort in this question;
Kevin Erskine
Publicado el 21,febrero 2009 - 22:45
Thank you. I kind of figured that was what I would have to do after reading all the documentation and speaking to another friend. This was a real requirment for a client project.

Another option would be MDI web pages for each table, but I did not see anything in WebDev allowing for this.

Thank you for answering.
Publicado el 23,febrero 2009 - 01:41
Hi Kevin...

another little thing you can try is to have each table separately in a
page, and the main page displaying them inside an iframe that you will
resize, then reload the page with instruction to resize the table before
reloading it

Lots of things could go wrong, of course :-)

Best regards

--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com/index_FR.html


Kevin Erskine wrote:
Thank you. I kind of figured that was what I would have to do after reading all the documentation and speaking to another friend. This was a real requirment for a client project.

Another option would be MDI web pages for each table, but I did not see anything in WebDev allowing for this.

Thank you for answering.