Board index » delphi » Image buttons.

Image buttons.


2007-06-21 02:55:34 PM
delphi77
I used the IWImageButton.
To my disappointment it turned out to be a clickable image.
How can I get a real button with an image on, that can be pressed down,
like the ones from IWDBNavigator?
I specified BorderOptions with width 3 and colour clWEBDarkGray.
At design, I see the border (but no image: images/pict.gif).
In the browser, I see the image, but no border?
Regards, Gerard.
 
 

Re:Image buttons.

Ghia writes:
Quote
I used the IWImageButton.
To my disappointment it turned out to be a clickable image.
How can I get a real button with an image on, that can be pressed down,
like the ones from IWDBNavigator?

I specified BorderOptions with width 3 and colour clWEBDarkGray.
At design, I see the border (but no image: images/pict.gif).
In the browser, I see the image, but no border?

Regards, Gerard.

Gerard,
I asked this question a couple of years ago. Unfortunately you
can't get an image button to look and act like a button. Sad but true.
Sam
 

Re:Image buttons.

I would be happy with the look and feel of the buttons from the
IWDBNavigator.
It looks that they made a combination of a normal IWButton and an
IWImage that is displayed inside the top surface.
The underlying button, from which only the border is visible, makes the
visual effect of being pressed.
IMHO, they could even enhance the effect by moving the image 1 pixel.
Anyway, it is possible to have or make a web counterpart of the BitButton
or SpeedButton.
And when I put the first one on the form, I was expecting this kind of
button in stead of a clickable image.
While testing, I noticed also something weird with Mozilla browsers
(NetScape, FireFox).
If you don't move the mouse, the first click presses the button deeper
as the consecutive clicks.
If you specify borderoptions, do you see them in the browser?
Regards, Gerard.
Sam Larson writes:
Quote
Ghia writes:

>I used the IWImageButton.
>To my disappointment it turned out to be a clickable image.
>How can I get a real button with an image on, that can be pressed
>down, like the ones from IWDBNavigator?
>
>I specified BorderOptions with width 3 and colour clWEBDarkGray.
>At design, I see the border (but no image: images/pict.gif).
>In the browser, I see the image, but no border?
>
>Regards, Gerard.
>
Gerard,
I asked this question a couple of years ago. Unfortunately you
can't get an image button to look and act like a button. Sad but true.

Sam
 

Re:Image buttons.

Ghia writes:
Quote
I would be happy with the look and feel of the buttons from the
IWDBNavigator.
It looks that they made a combination of a normal IWButton and an
IWImage that is displayed inside the top surface.
The underlying button, from which only the border is visible, makes the
visual effect of being pressed.
IMHO, they could even enhance the effect by moving the image 1 pixel.
Anyway, it is possible to have or make a web counterpart of the BitButton
or SpeedButton.
And when I put the first one on the form, I was expecting this kind of
button in stead of a clickable image.

While testing, I noticed also something weird with Mozilla browsers
(NetScape, FireFox).
If you don't move the mouse, the first click presses the button deeper
as the consecutive clicks.
Yes that is true. When you move from one selected object to another, the
first click displays the mouse down image. Subsequent clicks do not.
Quote
If you specify borderoptions, do you see them in the browser?
I don't think it did, but I am not sure. I don't use IW anymore. I
switched to RTC (I needed more control than what IW could give me).
Sam
 

Re:Image buttons.

What is RTC?
"Sam Larson" <XXXX@XXXXX.COM>writes
Quote
Ghia writes:
>I would be happy with the look and feel of the buttons from the
>IWDBNavigator.
>It looks that they made a combination of a normal IWButton and an IWImage
>that is displayed inside the top surface.
>The underlying button, from which only the border is visible, makes the
>visual effect of being pressed.
>IMHO, they could even enhance the effect by moving the image 1 pixel.
>Anyway, it is possible to have or make a web counterpart of the BitButton
>or SpeedButton.
>And when I put the first one on the form, I was expecting this kind of
>button in stead of a clickable image.
>
>While testing, I noticed also something weird with Mozilla browsers
>(NetScape, FireFox).
>If you don't move the mouse, the first click presses the button deeper as
>the consecutive clicks.

Yes that is true. When you move from one selected object to another, the
first click displays the mouse down image. Subsequent clicks do not.

>If you specify borderoptions, do you see them in the browser?

I don't think it did, but I am not sure. I don't use IW anymore. I switched
to RTC (I needed more control than what IW could give me).

Sam
 

Re:Image buttons.

Marion Smith writes:
Quote
What is RTC?
RealThinClient from www.realthinclient.com/.
Like IW it can create its own web server or run as ISAPI. You can also
use it to write thin client applications or pull down webpages from
other sites. It is simpler than IW but faster and I have fewer hoops to
go through (I control everything via HTML without requiring javascript).
There is a 3rd party add-on for adding db controls but I haven't needed
it yet. It is much cheaper, really fast, and has excellent support (24
hrs). it is for programmers who don't need a lot of hand holding that IW
provides. There are videos on the website in case anyone is interested.
Sam
Quote



"Sam Larson" <XXXX@XXXXX.COM>writes
news:4682c99b$XXXX@XXXXX.COM...

>Ghia writes:
>
>>I would be happy with the look and feel of the buttons from the
>>IWDBNavigator.
>>It looks that they made a combination of a normal IWButton and an IWImage
>>that is displayed inside the top surface.
>>The underlying button, from which only the border is visible, makes the
>>visual effect of being pressed.
>>IMHO, they could even enhance the effect by moving the image 1 pixel.
>>Anyway, it is possible to have or make a web counterpart of the BitButton
>>or SpeedButton.
>>And when I put the first one on the form, I was expecting this kind of
>>button in stead of a clickable image.
>>
>>While testing, I noticed also something weird with Mozilla browsers
>>(NetScape, FireFox).
>>If you don't move the mouse, the first click presses the button deeper as
>>the consecutive clicks.
>
>Yes that is true. When you move from one selected object to another, the
>first click displays the mouse down image. Subsequent clicks do not.
>
>
>>If you specify borderoptions, do you see them in the browser?
>
>I don't think it did, but I am not sure. I don't use IW anymore. I switched
>to RTC (I needed more control than what IW could give me).
>
>Sam



 

Re:Image buttons.

Thank you Sam.
"Sam Larson" <XXXX@XXXXX.COM>writes
Quote
Marion Smith writes:
>What is RTC?

RealThinClient from www.realthinclient.com/.
Like IW it can create its own web server or run as ISAPI. You can also use
it to write thin client applications or pull down webpages from other
sites. It is simpler than IW but faster and I have fewer hoops to go
through (I control everything via HTML without requiring javascript).
There is a 3rd party add-on for adding db controls but I haven't needed it
yet. It is much cheaper, really fast, and has excellent support (24 hrs).
It's for programmers who don't need a lot of hand holding that IW
provides. There are videos on the website in case anyone is interested.

Sam

>
>
>
>"Sam Larson" <XXXX@XXXXX.COM>writes
>news:4682c99b$XXXX@XXXXX.COM...
>
>>Ghia writes:
>>
>>>I would be happy with the look and feel of the buttons from the
>>>IWDBNavigator.
>>>It looks that they made a combination of a normal IWButton and an
>>>IWImage that is displayed inside the top surface.
>>>The underlying button, from which only the border is visible, makes the
>>>visual effect of being pressed.
>>>IMHO, they could even enhance the effect by moving the image 1 pixel.
>>>Anyway, it is possible to have or make a web counterpart of the BitButton
>>>or SpeedButton.
>>>And when I put the first one on the form, I was expecting this kind of
>>>button in stead of a clickable image.
>>>
>>>While testing, I noticed also something weird with Mozilla browsers
>>>(NetScape, FireFox).
>>>If you don't move the mouse, the first click presses the button deeper
>>>as the consecutive clicks.
>>
>>Yes that is true. When you move from one selected object to another, the
>>first click displays the mouse down image. Subsequent clicks do not.
>>
>>
>>>If you specify borderoptions, do you see them in the browser?
>>
>>I don't think it did, but I am not sure. I don't use IW anymore. I
>>switched to RTC (I needed more control than what IW could give me).
>>
>>Sam
>
>