|
FOROS PROFESIONALES WINDEV, WEBDEV y WINDEV Mobile |
| | | | | |
Setting ActiveX Pictures on Run-Time.... |
Iniciado por office, 25,jun. 2003 13:34 - 1 respuesta |
| |
| | | |
|
| |
Publicado el 25,junio 2003 - 13:34 |
Hi! I try to set a image-picture or database-picture to a activeX Control. Every try seem to fail. Has any1 a clue for me? My ActiveX is SmButton 2.0 (very good and fast) works together with WinDev. Button1>>picture=image1 (nope) Button1>>picture=gimage(image1) (nope) hwnd=handle(image1) Button1>>picture=hwnd (nope) Button1>>picture=&hwnd (nope) Please help Alex |
| |
| |
| | | |
|
| | |
| |
Publicado el 25,junio 2003 - 15:26 |
HI Alexander ! May you send activex (if tryable) for tests. Else, I don't think you do it right... I Mean you shoud use an activeX field in you windows and use it's name and méthods. Button1 is an activeX filed linkd to your smButton dll or ocx file via filed description. To know all available activeX properties and methos use wd tool : ActiveX viewer that describe all its components. Sure you have an image property or a method to change it. An other way is to do as follow // Load ActiveX obutton is dynamic object BUTTON1="smButton.Control" oBurron = BUTTON1 // Instanciation OK ? if :obutton=null alors info("failed") end // set properties image with filename (if expected value for this property) obutton>>image="c:\diretory\imageFile.ext" Regards
Hi! I try to set a image-picture or database-picture to a activeX Control. Every try seem to fail. Has any1 a clue for me? My ActiveX is SmButton 2.0 (very good and fast) works together with WinDev. Button1>>picture=image1 (nope) Button1>>picture=gimage(image1) (nope) hwnd=handle(image1) Button1>>picture=hwnd (nope) Button1>>picture=&hwnd (nope) Please help Alex
rbesset.net : french wd portal (en friendly) |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|