Image -> XIMAGE

Image -> XIMAGE

Postby byte-one » Mon Jul 11, 2016 7:59 am

In which way i should use the new XIMAGE-Class instead of IMAGE to avoid the use of freeimage.dll?
No clausula ON CLICK and ADJUST are present. The picture should always fill the main-window in vert and horz even on changing the size of the window!
My code with IMAGE-Class:
Code: Select all  Expand view
@ aRect[1]+oh_fenster:oTop:nheight,0 IMAGE oBitmap FILE inst_daten+GR_RES+"\gun32.jpg" OF oh_fenster ADJUST ;
                NOBORDER PIXEL SIZE aRect[4]+1,aRect[3]-RANDV - (STEPV)*5 - TOPM*1.3 - oh_fenster:omsgbar:nheight ;
                ON CLICK msginfo( VERSION+CRLF+CP_LOGO,TX_msginfo_M,.T.)
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests