![]() |
|
|
|
How do I use ReSize with FarPoint's Tab Pro control?Last updated: January 21, 2007 It is possible make ReSize work with the FarPoint Tab Pro control, but you must write a few lines of code. The trick is to let the Tab Pro and the ReSize control share the job of moving and sizing controls.
Option 1.
Private Sub ReSize1_PreResize(ControlName
As String,
If ControlName =
"Command2" Then End Sub You could also write If ControlName = "Command1" OR ControlName = "Command2" above. This works pretty good except the FarPoint control is not smart enough to resize the fonts of the first generation controls that it is handling. Option 2.
Private Sub ReSize1_PreResize(ControlName
As String,
If ControlName =
"Command1" OR ControlName = "Command2" Then The above is better because now the fonts of the first generation children of the tab will also be sized (by ReSize). |
![]() |
Copyright © 2007 by
Larcom and Young. |