stinger_60284
asked on
Other 3 questions from newbie
1. How to change 'Twip' to 'Pixel'? I'm rather difficult to
program in 'twip'. I have change ScaleMode property to Pixel
but the Height and Width of my form is still in Twip format.
2. How to make a transparent button?
3. I want to make a database which contains:
* 1 field for the word -> type: character
* 1 field for the voice -> type: Wave
* 1 field for the picture -> type: BMP
the questions are:
a. What type should I choose in MDB format for Wave and BMP?
b. How can I take the Wave and BMP data programmatically and
show it (for BMP) or to play it on (for the Wave).
Thank you for the attention.
As usual, a stupid newbie needs a help...
Regards,
Stinger
program in 'twip'. I have change ScaleMode property to Pixel
but the Height and Width of my form is still in Twip format.
2. How to make a transparent button?
3. I want to make a database which contains:
* 1 field for the word -> type: character
* 1 field for the voice -> type: Wave
* 1 field for the picture -> type: BMP
the questions are:
a. What type should I choose in MDB format for Wave and BMP?
b. How can I take the Wave and BMP data programmatically and
show it (for BMP) or to play it on (for the Wave).
Thank you for the attention.
As usual, a stupid newbie needs a help...
Regards,
Stinger
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hmmm... okay then... nice suggestion
but do you know how to convert twip to pixel?
i mean 1 twip = ... pixel?
but do you know how to convert twip to pixel?
i mean 1 twip = ... pixel?
ASKER
and also 1 more thing, how to change font color in Button?
it also black!!! :(
it also black!!! :(
ASKER
and also 1 more thing, how to change font color in Button?
it always black!!! :(
it always black!!! :(
Stinger: You cannot convert Twip to pixel because there are 1440 Twips per inch which ensures the same relative positioning on any screen resolution. Pixels are "fixed" so if you have a form (for example) that you set to 600 pixels wide, it will overlap in 640 x 480 screen mode. But using twips it will be easier to scale on any screen resolution.
Also the standard button does not allow setting font color. If you use another 3rd party button BEWARE : the nightmare of converting your project when a new version of VB comes out and you either have to buy an updated 3rd party control or worse : there is no update - you have a mess to "fix". I have suffered this too many times in the past. So : Unless absolutely necessary avoid them!
Also the standard button does not allow setting font color. If you use another 3rd party button BEWARE : the nightmare of converting your project when a new version of VB comes out and you either have to buy an updated 3rd party control or worse : there is no update - you have a mess to "fix". I have suffered this too many times in the past. So : Unless absolutely necessary avoid them!
ASKER
Thanks Richard for your help!!!
:)
:)
ASKER