Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - [RE-OPENED] Form caption issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[RE-OPENED] Form caption issue

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: [RE-OPENED] Form caption issue
    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....
Back to Top
satyakvv View Drop Down
Groupie
Groupie


Joined: 07 July 2008
Location: India
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote satyakvv Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2008 at 2:51pm
No resolution for this ? It is really annoying that the window can be resized to very small size. 
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2008 at 2:00pm
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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2008 at 4:32pm
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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2008 at 2:45am
Thanks, Fixed for 12.1 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2008 at 2:50am

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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2008 at 11:44am
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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2008 at 12:09pm
Originally posted by oleg oleg wrote:

Jason, seems like good idea for new control - FormExtender. we can add some Transparency propety and Vista borders here too.

 
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  It's really annoying when you don't want just the standard form with all buttons. Would be nice if one would have a choise which button would be visible and not in a way MS does control it's forms.
 
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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 6:42am
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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 2:39pm
Hi Oleg,
 
That is great news
 
Well, it would be nice to have following:
 
  1. Option to set form to topmost form
  2. Prevent doubleclick in caption to maximize
  3. Prevent moving form
  4. Gradient background (begin + endcolor)
  5. Option to attach form to picturebox or some container (this will open a lot of possibilities) 
  6. Save size, position and properties (registry / file)
  7. Option to have an icon in caption but not the system menu (prevent dropdown system menu)
 
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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 2:53pm
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

Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 8:52pm
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.
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 9:24pm
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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2008 at 2:16pm
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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2008 at 5:55am
Yes, Thanks, all good ideas. SavePlacement/RestorePlacement also added.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Mika View Drop Down
Newbie
Newbie
Avatar

Joined: 18 April 2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mika Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2008 at 7:05am

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,

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 3:43am
Hi,
 
The new FormExtender control is really great   Thank you for that !!!!!
 
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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 4:26am
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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 5:54am
Originally posted by oleg oleg wrote:

Hi,
 
[...]
If you set AllowDragClient to  True you will be able move Form by dragging it to some point inside client.

[...]

 
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....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 6:16am
Hi,
Its for simple forms.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2008 at 9:23am
Originally posted by Mika Mika wrote:

 
[...]
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.

 
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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2008 at 9:25am
Originally posted by oleg oleg wrote:

Hi,
Its for simple forms.
 
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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2008 at 5:42pm
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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2008 at 11:53pm
Originally posted by jpbro jpbro wrote:

Hi Aaron,
You should be able to move the form as if you were dragging the title bar.
 
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....
Back to Top
Auge_Ohr View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote Auge_Ohr Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2009 at 8:32am
hi,
Originally posted by oleg oleg wrote:


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:

 

Region (to set non rectangle region for form)
More ideas ? :)

any Sample for FormExtender.Region ? not Idee what it is for.thx
greetings by OHR
Jimmy
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2009 at 4:30pm
Originally posted by Auge_Ohr Auge_Ohr wrote:

 
hi
any Sample for FormExtender.Region ? not Idee what it is for.thx
 
 
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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2187
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 31 December 2010 at 2:42am
Originally posted by Aaron Aaron wrote:

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
 
 
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....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.