Search found 678 matches: nor

Return to advanced search

Re: Brush

... Function Main() Local oDlg, oImagem Local cImagem := "..\bitmaps\pngs\2.png" DEFINE DIALOG oDlg SIZE 800, 600 ; STYLE nOr( WS_CHILD, WS_POPUP ) ; COLOR CLR_BLACK, CLR_BLACK TRUEPIXEL SetDlgGradient( { { 0.7, CLR_WHITE, CLR_WHITE }, ; { 0.3, CLR_BLACK, CLR_BLACK }, .F. ...
by oliveiros junior
Fri Apr 19, 2024 1:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Brush
Replies: 10
Views: 196

Re: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

You can use the above code to Toggle ReadOnly status during runtime. This code is tested.

From the next version, we have provided DATA lReadOnly. We can toggle this at runtime with oEdit:lReadOnly := .T. or .F..
by nageswaragunupudi
Tue Mar 26, 2024 4:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Re: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Code: Select all  Expand view

#define EM_SETREADONLY          0x00CF

//
//

     If( oEdit:WinStyle( ES_READONLY ), oEdit:SendMsg( EM_SETREADONLY, 0 ), ;
         oEdit:SendMsg( EM_SETREADONLY, 1 ) ) }
 
by nageswaragunupudi
Mon Mar 25, 2024 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Re: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Carlos, ¿es posible publicar un ejemplo completo para probar, por favor?

Gracias.

Regards, saludos.
by karinha
Mon Mar 25, 2024 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Re: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Carlos, Prueba con: oEdit:WinStyle( ES_READONLY, .F. ) // ó .T. si necesitas volver a aplicarlo Gracias Antonio, Pero no ha funcionado, permitía editar el texto tanto con .F. como con .T.; le he aplicado: oEdit:WinStyle( 2048 /* ES_READONLY */ , .F. ) 2048 lo he encontrado en winapi.ch A ver si se ...
by FiveWiDi
Mon Mar 25, 2024 1:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Re: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Carlos,

Prueba con:

oEdit:WinStyle( ES_READONLY, .F. ) // ó .T. si necesitas volver a aplicarlo
by Antonio Linares
Mon Mar 25, 2024 11:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Hola a todos,

Veo que en la lógica del control TEDIT está este código:

::nStyle = nOr( ::nStyle, ES_READONLY )

¿Cómo se puede revertir este código en tiempo de ejecución y si es necesario volverlo a aplicar?

Muchas gracias,
by FiveWiDi
Mon Mar 25, 2024 10:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1086

Re: TITLE CLASS BUG with oDLg TRansparent

... oDlg SIZE aCooDlg[1], aCooDlg[2] PIXEL TRUEPIXEL; FONT oFont TITLE "Configurazione" COLOR CLR_BLACK, rgb(245,245,235) TRANSPARENT; STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ; WS_MINIMIZEBOX) ICON oIcon @ nRow, 0 TITLE oTitle OF oDlg SIZE 1025, 65 NOBORDER ; oTitle:aGrdBack ...
by Silvio.Falconi
Mon Mar 18, 2024 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TITLE CLASS BUG with oDLg TRansparent - RESOLVED-
Replies: 9
Views: 1656

Re: TITLE CLASS BUG with oDLg TRansparent

... oDlg SIZE aCooDlg[1], aCooDlg[2] PIXEL TRUEPIXEL; FONT oFont TITLE "Configurazione" COLOR CLR_BLACK, rgb(245,245,235) TRANSPARENT; STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ; WS_MINIMIZEBOX) ICON oIcon @ nRow, 0 TITLE oTitle OF oDlg SIZE 1025, 65 NOBORDER ; oTitle:aGrdBack ...
by nageswaragunupudi
Mon Mar 18, 2024 5:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TITLE CLASS BUG with oDLg TRansparent - RESOLVED-
Replies: 9
Views: 1656

Re: TITLE CLASS BUG with oDLg TRansparent

... DIALOG oDlg SIZE nWd , nHt PIXEL TRUEPIXEL; FONT oFont TITLE "Configurazione" COLOR CLR_BLACK, RGB( 245,245,235) TRANSPARENT; STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ; WS_MINIMIZEBOX) @ nRow, 0 TITLE oTitle OF oDlg SIZE 1025, 65 NOBORDER //PIXEL oTitle:aGrdBack ...
by Silvio.Falconi
Sun Mar 17, 2024 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TITLE CLASS BUG with oDLg TRansparent - RESOLVED-
Replies: 9
Views: 1656

TITLE CLASS BUG with oDLg TRansparent - RESOLVED-

... oDlg SIZE aCooDlg[1], aCooDlg[2] PIXEL TRUEPIXEL; FONT oFont TITLE "Configurazione" COLOR CLR_BLACK, rgb(245,245,235) TRANSPARENT; STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ; WS_MINIMIZEBOX) ICON oIcon @ nRow, 0 TITLE oTitle OF oDlg SIZE 1025, 65 NOBORDER ; oTitle:aGrdBack ...
by Silvio.Falconi
Fri Mar 15, 2024 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TITLE CLASS BUG with oDLg TRansparent - RESOLVED-
Replies: 9
Views: 1656

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

A response is given to look at TSwitch control.
A further response is given that the control is incomplete because it doesn't have a prompt ability, nor does it have resource implementation
by TimStone
Fri Feb 09, 2024 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IS IT POSSIBLE TO MAKE THIS CONTROL
Replies: 16
Views: 814

Re: future of Rich Text Editor maybe time to start with WEBVIEW

... :wink: And most of us are developing desktop applications since so many years. Those desktop apps are working excellent and do not need any WLAN nor internet. But I think you are right... the time will come and your visions will succeed... more and more of us will have to learn about those new ...
by Detlef
Fri Jan 26, 2024 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: future of Rich Text Editor maybe time to start with WEBVIEW
Replies: 19
Views: 1706

Re: future of Rich Text Editor maybe time to start with WEBVIEW

... might appreciate the convenience and efficiency of Microsoft solutions. I don't know any computer stores that even unpack the devices anymore. Nor do I know any service technicians who would bother to do this work and uninstall things. Regarding Microsoft, I think you need to revise your opinion, ...
by Otto
Wed Jan 24, 2024 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: future of Rich Text Editor maybe time to start with WEBVIEW
Replies: 19
Views: 1706

Re: ButtonBmp TABSTOP

... PROMPT "&Three" OF oDlg PIXEL SIZE 50,30 ACTION MsgInfo("Three")           oBtn[2]:nStyle:= nOR(WS_CHILD, WS_VISIBLE)    ACTIVATE DIALOG oDlg CENTEREDRETURN NIL Hi Carlos, Your example works great but if i put this solution (I use pelles ...
by wartiaga
Fri Jan 05, 2024 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBmp TABSTOP
Replies: 18
Views: 2789
Next

Return to advanced search