For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > September 2004 > MinButton=True









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MinButton=True
Jim Bunton

2004-09-29, 3:55 pm

Yes - min button = true
==================
in immediate mode[color=darkred]
? forms(0).name
Rename
? forms(0).minbutton
True
===================
But the wretched form does not display it!!

Makes me feel like I'm back in junior school!!

Help!

--
Jim Bunton



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


Charlie

2004-09-29, 3:55 pm

Do you have Borderstyle = 2 - sizable?

"Jim Bunton" wrote:

> Yes - min button = true
> ==================
> in immediate mode
> ? forms(0).name
> Rename
> ? forms(0).minbutton
> True
> ===================
> But the wretched form does not display it!!
>
> Makes me feel like I'm back in junior school!!
>
> Help!
>
> --
> Jim Bunton
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004
>
>
>

Jim Bunton

2004-09-29, 3:55 pm

Borderstyle 3 Fixed Dialogue

"Charlie" <Charlie@discussions.microsoft.com> wrote in message
news:231FAA6C-6BFF-4941-935D-4DC520E5D247@microsoft.com...[color=darkred]
> Do you have Borderstyle = 2 - sizable?
>
> "Jim Bunton" wrote:
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


Jeff Johnson [MVP: VB]

2004-09-29, 3:55 pm


"Jim Bunton" <jBunton@BlueYonder.co.uk> wrote in message
news:C6C6d.162849$hZ3.18207@fe2.news.blueyonder.co.uk...

> Yes - min button = true
> ==================
> in immediate mode
> ? forms(0).name
> Rename
> ? forms(0).minbutton
> True
> ===================
> But the wretched form does not display it!!
>
> Makes me feel like I'm back in junior school!!
>
> Help!


???????????????

Did I miss something? What was the original issue?


Charlie

2004-09-29, 3:55 pm

Right, the min and max buttons only seem to be available for Borderstyle 2 -
Sizable

"Jim Bunton" wrote:

> Borderstyle 3 Fixed Dialogue
>
> "Charlie" <Charlie@discussions.microsoft.com> wrote in message
> news:231FAA6C-6BFF-4941-935D-4DC520E5D247@microsoft.com...
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004
>
>
>

Jim Bunton

2004-09-29, 3:55 pm

The Original issue was as Below - minButton is set true but it isn't
displaying on the form

Charlie replied ? Do you have Borderstyle = 2 - sizable?

I replied !Borderstyle 3 Fixed Dialogue!


"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:OW7bStkpEHA.2484@TK2MSFTNGP09.phx.gbl...
>
> "Jim Bunton" <jBunton@BlueYonder.co.uk> wrote in message
> news:C6C6d.162849$hZ3.18207@fe2.news.blueyonder.co.uk...
>
>
> ???????????????
>
> Did I miss something? What was the original issue?
>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


Charlie

2004-09-29, 3:55 pm

Sorry, Borderstyle 1 - Fixed Single worked too.

"Jim Bunton" wrote:

> Borderstyle 3 Fixed Dialogue
>
> "Charlie" <Charlie@discussions.microsoft.com> wrote in message
> news:231FAA6C-6BFF-4941-935D-4DC520E5D247@microsoft.com...
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004
>
>
>

Charlie

2004-09-29, 3:55 pm

I don't know if there was one. I just kinda guessed at what he wanted to know.

"Jeff Johnson [MVP: VB]" wrote:

>
> "Jim Bunton" <jBunton@BlueYonder.co.uk> wrote in message
> news:C6C6d.162849$hZ3.18207@fe2.news.blueyonder.co.uk...
>
>
> ???????????????
>
> Did I miss something? What was the original issue?
>
>
>

Jim Bunton

2004-09-29, 3:55 pm

Geranimo - AND FOR Fixed Single

[so what's the difference between dialogue and fixed single!!]
They 'look' exactly the same!

But now I see it in Help! though it's a bit confusing as 3 is called Fixed
double!
VB HELP>>>>>>>
vbFixedDouble 3 Fixed Dialog. Can include Control-menu box and title bar;
can't include Maximize or Minimize buttons. Not resizable.

vbFixedSingle 1 Fixed Single. Can include Control-menu box, title bar,
Maximize button, and Minimize button. Resizable only using Maximize and
Minimize buttons.
End VB Help <<<<<<<<<<<<<<<<<<<<<<

Perhaps this is something I should have learnt in Joonier skool

Thanks for the lead Charlie!

"Charlie" <Charlie@discussions.microsoft.com> wrote in message
news:31027708-D86D-44A2-BCBD-0C4A95E9C958@microsoft.com...
> Right, the min and max buttons only seem to be available for Borderstyle

2 -[color=darkred]
> Sizable
>
> "Jim Bunton" wrote:
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


Ken Halter

2004-09-29, 3:55 pm

Jim Bunton wrote:
> Borderstyle 3 Fixed Dialogue


According to help, that should work (but it doesn't).

"To display a Minimize button, you must also set the form's BorderStyle
property to either 1 (Fixed Single), 2 (Sizable), or 3 (Fixed Double)."

According to help.... (btw. Help is wrong about this)

"The settings you specify for the MaxButton, MinButton, BorderStyle, and
ControlBox properties aren't reflected in the form's appearance until
run time."

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Ken Halter

2004-09-29, 3:55 pm

Jim Bunton wrote:
> Geranimo - AND FOR Fixed Single
>
> [so what's the difference between dialogue and fixed single!!]
> They 'look' exactly the same!


Use Fixed Single. fwiw, the other "dialog" type forms look nothing like
the others. Fixed Dialog probably looked different in the past (older OS)

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com