Problem with xImage

Post Reply
User avatar
Silvio.Falconi
Posts: 7154
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Problem with xImage

Post by Silvio.Falconi »

To show an Image on dialog I Use ximage

Code: Select all | Expand


@ 80,20 XIMAGE oImageDlg[1] ;
             FILENAME IF(empty(oElemento:ELIMGLIB),cDefaImage,oElemento:ELIMGLIB);
             NOBORDER ;
             SIZE 40,40 ;
             OF oDlg ;
             UPDATE
    oImageDlg[1]:bRClicked  := NIL
    oImageDlg[1]:ltransparent:=.t.
    oImageDlg[1]:nUserControl :=0


although I have put these commands

oImageDlg[1]:bRClicked := NIL
oImageDlg[1]:ltransparent:=.t.
oImageDlg[1]:nUserControl :=0

I also see the menu pulldown I I click on right button of the mouse as you can see here

Image

How should I do so the end user does not have this possibility? that is to display this menu?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Problem with xImage

Post by nageswaragunupudi »

Please try
oImg:bRClicked := { ||nil}
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7154
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: Problem with xImage

Post by Silvio.Falconi »

thnks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply