VP Studio shell supported controls have automatic alignment property, which programmer can define interactively. No programming is required for automatic control alignment in compiled application.
VP Studio Shell supports the following options for automatic alignment:
Align to parent Bottom
Align to parent Right
Align to parent Right Bottom
Fit to Parent
Center Horizontally
Center Vertically
Center Inside Parent
No alignment
Stick to parent Left Bottom
Stick to parent Bottom
Stick To parent Right Bottom
Simply double click on VP Studio Shell control and define control alignment from the list.
How does it work?
VP Studio Shell support code provides auto-align functionality, which is you can find similar to the Delphi development environment.
As an interface designer, you simply need to define control properties using VP Studio Shell Object explorer. Automatic alignment will be done by code inside SYSTEM OBJECT
Note:
The automatic control alignment requires window, which has controls with auto-align properties, to have SYSTEM OBJECT created on e_create event:
%BEGIN Colred Editor, e_Create
win_colred_editor_eh(_Win,e_Create(_),0):-!,
SysObject = system_object::new(_Win),
.....
This code guarantees auto-align functionality of VP Studio Shell controls.
Click here for Auto-alignment samples
Copyright 1998-2002 EDMGROUP (Australia)
Last Updated: May 31, 2002