ChooseFromList: FormUID oder FormCount abfragen
Fritz Schwendemann
Hallo zusammenIch möchte die Fensterbreite einer ChooseFromList verändern und benötige dazu entweder die eindeutige Form-UID oder die Zahl FormCount. Den FormType "COR_FRM_AdvChsFrmList" kenne ich zwar, FormCount kann aber variieren, falls der User mehrere solche Fenster geöffnet hat. Vielen Dank für Eure Hilfe.
Fritz
Anders Olsson
Hello Fritz,The easiest way would be to register a new Optimizer rule:
Trigger FormType: COR_FRM_AdvChsFrmList
Event Type: FormLoad
with the following code:
pVal.Form.Width = 1000; // Set the form width here
return true;
Then every instance of the form will get the width you decide.
Kind regards,
Anders Olsson
Fritz Schwendemann
Hi AndersThanks for your help. I already had a temporary solution, but still wished to know how to find out FormUID or FormCount. Depending on the form, I want to modify the form and the grid (f.e. column-width, column-style etc.). I will keep on waiting for an answer from Coresystems.
Kind regards
Fritz
0
Please sign in to leave a comment.
Comments
0 comments