VP Studio Shell - control alignment

back to main page

 

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:

 

 

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