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.)