![]() |
[RE-OPENED] Form caption issue |
Post Reply ![]() |
Author | |
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() Posted: 22 May 2008 at 1:30pm |
Hi,
Why can I resize a form to just about 5x5 pixels when a skin is applied ? (see image 2) When no skin is applied you can resize the form as big as the min/max/close buttons plus Icon and little bit of caption (not smaller !!)
![]() This is solved in V12.1.0
Thanks
|
|
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.... |
|
![]() |
|
satyakvv ![]() Groupie ![]() Joined: 07 July 2008 Location: India Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
No resolution for this ? It is really annoying that the window can be resized to very small size.
|
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Answers... we would like a reply on this...
Thanks
|
|
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.... |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
One of my pet peeves with the standard VB forms is that there is no native way to limit their size, and just about every app I write would benefit from this ability. I currently use some subclassing code (compiled into a separate DLL to prevent IDE crashes during debugging) to accomplish this task. If you are interested I can post the code here.
But really, it would be a great feature of either the SkinFramework or the CommandBars controls if they had the following properties: MinWidth, MinHeight, MaxWidth, MaxHeight. I can't imagine it would be that difficult for CJ to tack on those features into their codebase, and it would be a real benefit to their VB6 customers. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Thanks, Fixed for 12.1 release.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Jason, seems like good idea for new control - FormExtender. we can add some Transparency propety and Vista borders here too. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
Oleg, that would be a very welcome control! While you're thinking about it, here are some other features that would be nice:
1) CloseButton property (to enable disable the X button, this is another thing that requires the API). 2) Maybe an option to automatically remember the form position & size the last time it was closed, and restore it the next time it is open (even between sessions)? |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
If this is going to replace standard VB Form with all (sometimes) useless properties that have to do with system menu, you have my vote too
![]() Thanks a lot in advance
|
|
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
we added FormExtender control - it will be not replacement but small control you can put to form and change some properties of this form.
Properties now:
Caption (too allow set Unicode caption for form)
Transparency; Region (to set non rectangle region for form) AllowDragClient; Closable; ( to enable/disable close button in runtime) ClientMinWidth; ClientMinHeight; ClientMaxWidth; ClientMaxHeight; More ideas ? :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
That is great news
![]() Well, it would be nice to have following:
I know it isn't christmas yet but some features would be nice if they will be added
![]() Thanks a lot
|
|
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.... |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
This is great news...
I particularly agree with Aaron's additions #1 and #6. Also, a Markup enabled Caption would be cool (although maybe more appropriate for CommandBars or SkinFramework, not sure). Lastly, some additional events would be cool: - Resizing (while form is resizing, not after it is resized) with a Cancel parameter - Moving (while form is being moved) with a Cancel parameter - Moved (after a form has been moved) - AppGotFocus, AppLostFocus (when task switches to another app or back) |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
ijwelch ![]() Senior Member ![]() Joined: 20 June 2006 Status: Offline Points: 262 |
![]() ![]() ![]() ![]() ![]() |
And how about an easy way to set a unicode caption. And maybe alpha icon?
If you're implementing form size/position saving/loading then please also include whether form is maximized or not - other 'form extender' controls seem to restore maximized forms as non-maximized but fill entire screen. |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
Good idea ijwelch. The ability to add alpha (48x48 for XP, and 256x256 PNG icons for Vista) would be great. Right now I have to run a batch file against my compiled EXEs to add XP & Vista icons before distribution. If we could just add an ImageManager icon, that would be perfect.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Ideas are good (Jason and Ian) but a reply would be better (Oleg)
![]() Thanks
|
|
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Yes, Thanks, all good ideas. SavePlacement/RestorePlacement also added.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Mika ![]() Newbie ![]() ![]() Joined: 18 April 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Dear Mr. Oleg, Change request (if possible) about the visible degree (transparent function) If we get possible to set transparency of a form, I want you to create fade-in / fade-out functions when the form is loading and unloading.
I think that we are convenient when there is an option to be able to choose fast/slow or set mili-second. Best Regards, |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
The new FormExtender control is really great
![]() ![]() ![]() ![]() ![]() There is one thing that doesn't work though. When setting a Region for FormExtender (in IDE) and loading a skin at runtime the form shows as an ordinary form would. I tried to set Region after loading skin and now the form shows with the loaded region BUT when resizing the form the Region will be destroyed
![]() Without SkinFrameWork it works as should
![]() QUESTION: What would AllowDragClient do exactly? I would have guess this would prevent the form from being moved. But it still can be dragged...
Thanks a lot
|
|
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks, will check Region thing :-(
If you set AllowDragClient to True you will be able move Form by dragging it to some point inside client.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
I really don't see what it does... Is this for MDI apps? If not, could you provide an example?
|
|
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Its for simple forms.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You could just create loop to set transparency of form (don't forget to add DoEvents) in loop. This will be just enough to fade in/out form
![]() |
|
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.... |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
I still don't understand what you mean. Can you please give me a sample?
Thanks a lot
|
|
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.... |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
Hi Aaron,
Put the FormExtender control on a form and set the AllowDragClient property to True. Now try to drag the form by clicking the inner portion where you would place controls (but don't try to drag a control). You should be able to move the form as if you were dragging the title bar. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi Jason,
Thanks for explaining, now I understand
![]() Now only Region issue and we have a nice control hehehe
![]() Thanks a lot.
|
|
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.... |
|
![]() |
|
Auge_Ohr ![]() Groupie ![]() Joined: 20 December 2008 Status: Offline Points: 65 |
![]() ![]() ![]() ![]() ![]() |
hi,
any Sample for FormExtender.Region ? not Idee what it is for.thx |
|
greetings by OHR
Jimmy |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
With region you can have irregular shaped forms. Only resizing is problem (at least last time I checked it was) so suggest using this only with no sizable form.
|
|
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.... |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
This seems only solved when having the ControlBox property set to True. If ControlBox is invisible you are able to resize form as small as above image. But then again, "mighty" MS produces same flaw... If CJ doesn't (or can't) fix this you can always drop FormExtender control onto form and the only thing you have to do, is setting ClientMinWidth to +/- 120
Thanks
|
|
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.... |
|
![]() |
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 |