FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Setting ActiveX Pictures on Run-Time....
Setting ActiveX Pictures on Run-Time....
Débuté par Alexander Predl, 25 juin 2003 13:34 - 1 réponse
Connectez-vous…
Alexander Predl
#1
Posté le 25 juin 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
Signaler
0
0
romuald besset
#2
Posté le 25 juin 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)
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte