Hello,
Please don't excoriate me, but i have what may be a simple question.
I want to make and application that uses icons as buttons, but I
cannot find an example of how to do this. Can someone help me out
here?
Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com 3 5855
"Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in
message news:e9**************************@posting.google.c om... Hello,
Please don't excoriate me, but i have what may be a simple question. I want to make and application that uses icons as buttons, but I cannot find an example of how to do this. Can someone help me out here?
Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com
Two choices:
Use an image control. Set its picture to the icon, and write a click
event handler. It won't give feedback (i.e. look depressed) unless you
program that in as well.
Use a command button. Set the Style to Graphical, delete the caption,
and set its picture property to the icon. Use as any other button. It
will still have the raised border, and look depressed when it is
clicked.
And how about this:
Use checkboxes set to Graphical...
It gives you up down and isabled pics!
Steve Gerrard heeft geschreven in bericht ... "Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in message news:e9**************************@posting.google.c om... Hello,
Please don't excoriate me, but i have what may be a simple question. I want to make and application that uses icons as buttons, but I cannot find an example of how to do this. Can someone help me out here?
Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com
Two choices:
Use an image control. Set its picture to the icon, and write a click event handler. It won't give feedback (i.e. look depressed) unless you program that in as well.
Use a command button. Set the Style to Graphical, delete the caption, and set its picture property to the icon. Use as any other button. It will still have the raised border, and look depressed when it is clicked.
Don't leave out the Option buttons...
GST
"Slaatje" <So******@mail.com> wrote in message
news:c8**********@reader08.wxs.nl... And how about this:
Use checkboxes set to Graphical... It gives you up down and isabled pics!
Steve Gerrard heeft geschreven in bericht ... "Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in message news:e9**************************@posting.google.c om... Hello,
Please don't excoriate me, but i have what may be a simple question. I want to make and application that uses icons as buttons, but I cannot find an example of how to do this. Can someone help me out here?
Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com
Two choices:
Use an image control. Set its picture to the icon, and write a click event handler. It won't give feedback (i.e. look depressed) unless you program that in as well.
Use a command button. Set the Style to Graphical, delete the caption, and set its picture property to the icon. Use as any other button. It will still have the raised border, and look depressed when it is clicked.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave |
last post by:
Hello,
I have an issue with images that appear and then seem to disappear depending
on the compile and exectution sequence I use. I haven't been able to narrow
down a repeateable sequnce. I...
|
by: udir |
last post by:
Hi,
I created a toolbar, added button and Icons from an ImageList.
The icons are transparent for disable mode.
The problem is that the icons does not look good, a blue outlet is added to
the...
|
by: Cecilia Bergengruen |
last post by:
I need icons to put in my toolbar, for the following buttons:
Print
Next
Previous
First
Last
Duplicate
Save
Discard
|
by: lindsay |
last post by:
Hello,
I am trying to make a toolbar at the bottom of my pocket pc app with
'New', 'Open', 'Delete', etc. icons on the buttons. I'm pretty sure
that there are some standard system icons in...
|
by: Al |
last post by:
Hi All,
I am trying to get a 24x24 "Windows XP" icon to display correctly on a
button in my toolbar. My icon has 8 layers (16x16, 16x16, 24x24, 24x24,
32x32, 32x32, 48x48, 48x48) with each size...
|
by: Siv |
last post by:
Hi,
I have an MDI application that uses a generic "ShowPage" routine in a module that is called when I want to display a child form. The basic idea is that in the module I have declared each form...
|
by: Ryan Liu |
last post by:
Hi,
I encounter a weird problem.
I have a user control with a toolbar on it. And there is also an imagelist
for this toolbar. This toolbar has few buttons. Everything's modifier is...
|
by: Pucca |
last post by:
HI, I'm using vs2005. There are very few icons I found in the folder of
vs2005imagelibrary under the install folder of vs2005. Does anyone know
where I can download icons that are typically used...
|
by: Kristian |
last post by:
Hi,
We have recently added some icons onto buttons for a windows app
(VS2005). While we are in the designer they all look ok, but
once we run the program some of the icons disappear from the...
|
by: drewski526 |
last post by:
Hi,
I wrote a small part of a larger program, and oddly enough, when i try to run it, the icons spontaneously appear and disappear when i mouse over them.
background_img =...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |