Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change the icon of an InputBox 1

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
GB
I say, the little icon for the 'Move/Close' menu at the top left corner of an InputBox is a very dull looking affair (impression of a blank white window with the blue title bar).

Is there any way to change it?

By comparison, an ordinary MsgBox doesn't have the menu at all and therefore no icon (and looks all the better for it)...

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
Ah well, just a thought.

Thanks, Mark.

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
Spice it up with a title! I suggest:

Code:
input = InputBox("input text here", "HEY!  LOOK AT ME!")

Have fun with it. Go wild. j/k

You know, you can change that title bar icon with Winbatch...but that's besides the point.

Hope This Helps,

Good Luck!
 
Dude, I know all about titles already (and default text - although I've not found a useful use for it yet), but still that stupid blank white window icon looks really, REALLY naff!

Honestly, it makes my otherwise marvellous script look unfinished, tatty and amateurish.

Anyway, Winbatch, never heard of it. Let me go look.

Thanks! :)

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
You can use AutoIt for free to create dialogs as well.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
It all sounds good, but for an enterprise application I think I should stick to the standard VB commands et. al.

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
In that case, you are pretty much stuck. You could look at implementing it as an HTA, then you could jazz it up a little.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Cap in hand, I have to admit, I've no idea what "...implementing it as an HTA..." means...

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
HTA is HyperText Application. It is HTML with VBScript 'embedded' within.

Hope This Helps,

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top