Problem with xImage

Problem with xImage

Postby Silvio.Falconi » Wed Jan 30, 2019 8:50 pm

To show an Image on dialog I Use ximage
Code: Select all  Expand view

@ 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 November 2023 - January 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
Silvio.Falconi
 
Posts: 6834
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with xImage

Postby nageswaragunupudi » Thu Jan 31, 2019 4:48 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10295
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Problem with xImage

Postby Silvio.Falconi » Thu Jan 31, 2019 8:28 am

thnks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
Silvio.Falconi
 
Posts: 6834
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests