Message envoyé
le
28-12-2024
par
dirkpitt
(Italie)
Hello to all
I'm trying to use the Layout Control to create a scrollable form container, that contains about 8 sections. I can add each cell easily and then insert variout edit field and other controls.
What i'm trying to do is: How to position automatically the focus on one of these sections or in the first control inside a specific cell in the layout? I don't know if my problem is clear, but i need something to obtain a sort of automatic scroll of the layout control giving some parameters and execute a "returntocapture" to the first edit control available in this cell.
https://doc.pcsoft.fr/?3025039
Et
https://help.windev.com/?3025039
Message envoyé
le
28-12-2024
par
dirkpitt
(Italie)
Hello Popoy
Sorry, but your suggestions are not useful because, yes, i know how to put a sequential input order on the controls using TabOrder, but it is not my problem.
First, i think, i could resolve my issue using only the scrollbar of the Layout Control, but as i know it can't be used programmatically.
I need to jump to some section in the Layout Control.
The ScreenFirst (control_name) should be useful if the Layout Control show you the section where is located the control in focus, applying a sort of scroll until the control is shown at the top of Layout.
So, i think the last solution could be to scroll the contents of the Layout control, until a scroll value (position) where to jump.
Hope to have explained well my problem.