English
Forum

Create("PicButton",n,H,X1,Y1,X2,Y2) - not photo klickbar

 

Erasmus.Herold
Hallöchen ...

The following is me noticed. Nutze I The function "Create("PicButton",n,H,X1,Y1,X2,Y2)" functions the Button on itself. click I but at Button very into middle aufs photo, has the button no function.

means: is the photo right big, remaining little edge, whom the User You can can.

can the others confirm or quite a remedy afford?

Greeting
Erasmus
 
10/13/19  
 




Georg
Teles
good evening,

How big is the photo and can you a Beispielcode post, where the zutrifft ?

Regards
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

10/13/19  
 




Erasmus.Herold
Hallöchen ...

enclosed the code and a Screenshot.
temp& = Create("HPIC", -1, "fotoapparat.jpg")
fotoanzeige_button% = Create("PICBUTTON",  %hWnd, temp&, 1550, 57, 90, 94)

How described, it functions, if I on the "Rand" click, but not this Fotoapparat.

Greeting and Thanks
Erasmus

8 kB
Hochgeladen:10/14/19
Downloadcounter78
Download
 
10/14/19  
 




H.Brill
means by me (X4) functions it, alike where I there click
and alike whether Originalgröße or minimizes.
Declare temp&, fotoanzeige_button%, end%
ende% = 0
Cls
temp& = Create("HPIC", -1, "button.jpg")
' fotoanzeige_button% = Create("PICBUTTON",  %hWnd, temp&, 10, 50, %BmpX, %BmpY) ' Originalgröße the Bildes
fotoanzeige_button% = Create("PICBUTTON",  %hWnd, temp&, 10, 50, 90, 94)

WhileNot end%

    WaitInput

    If Clicked(fotoanzeige_button%)

        MessageBox("PicButton pressed !", "Info", 0)

    EndIf

    Case %Key = 2 : end% = 1

EndWhile


Have now only The x-Koordinate (1550) minimizes, I no so breiter
screen have.
one could yet the image in a Image List Save. there becomes it properly the Coordinates the ImageList minimizes.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
10/14/19  
 




Erasmus.Herold
is correct - with the small code works it free from problems.
strange - must I moreover checken.

thanks for your trouble.
 
10/14/19  
 




Georg
Teles
X4, X3, X2 and 10.0a functions - Interpreter and finished Exe

Regards
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

10/16/19  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.450 Views

Untitledvor 0 min.
ecki02/10/23
Michael Hettner09/02/21
p.specht06/23/21
N.Art11/18/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie