![]() |
(solved) add some toolbar in one form |
Post Reply ![]() |
Author | |
nenkalo ![]() Groupie ![]() ![]() Joined: 02 August 2008 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() Posted: 16 August 2008 at 9:30am |
hi
i have one main form that it has main toolbat top of form narmally . in center of this form one text box inserted . i want to add one toolbar top of this text box . for example it has right to left justify , center justify and ... . how can i do insert this toolbar top of test box ? tnx |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) Language: Visual Basic 6.0 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just add PictureBox to form, put textbox in PictureBox and attach Commandbars to PictureBox:
CommandBarsTextbox.AttachToWindow Picture1.hWnd
and use:
Private Sub CommandBarsTextbox_ResizeClient(ByVal Left As Long, ByVal Top As Long, ByVal Right As Long, ByVal Bottom As Long)
Text1.Move Left, Top, Right, Bottom - Top End Sub to resize textbox in picturebox.
tip:
If you want the picturebox always to be centered in form you could use resizer control as well.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
nenkalo ![]() Groupie ![]() ![]() Joined: 02 August 2008 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
very tnx Aaron
![]() |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) Language: Visual Basic 6.0 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |