Search found 419 matches: readonly

Return to advanced search

Re: Readonly and/or disable GETs background color

Enrico

Hope this is what you are looking for ...

SetGetColorFocus( rgb(209,224,252) ) // global color for gets

Rick Lipkin
by Rick Lipkin
Fri Aug 11, 2023 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

Dear Rao Sir , I am not able to set color for READONLY GETs ( WHEN condition ). Could you please share code to set code at global level.   TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, ...
by shrifw
Fri Aug 11, 2023 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?

... can i make FIELD "id" as READ-ONLY when "edit" :?: You do not have to do anything. Auto-increment fields are always treated as ReadOnly both by XBrowse and DataRow.
by nageswaragunupudi
Sat Aug 05, 2023 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?
Replies: 21
Views: 763

Re: MEMO : EDIT or GET with MULTILINE

... Dialog for Memo https://forums.fivetechsupport.com/viewtopic.php?t=42959 btw. Memo can also be *.RTF --- Use a multiline GET with READONLY to view a plain text. It is a MEMO configuration. i do not know how to use #command Syntax and have try      @  3,  3 GET oMGet VAR cMemo ;  ...
by Jimmy
Tue Mar 28, 2023 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 521

Re: MEMO : EDIT or GET with MULTILINE

How are you creating your log file ? I actually have log databases and each entry is a record. Then I simply use the BROWSE( ) function to view it. That gives me the ability to edit, delete, print, etc.

Use a multiline GET with READONLY to view a plain text. It is a MEMO configuration.
by TimStone
Tue Mar 28, 2023 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 521

MEMO : EDIT or GET with MULTILINE

... some Question : how to "save" File when something have "change" ( VAILD TXTRelease( lEdit, cFile, cMemo, cSave) ) how to use READONLY when lEdit = .T. (Syntax) how to show ROW / COL of Cursor Position how to call Find / Replace Dialog under Fivewin CLASS TMultiGet have METHOD ...
by Jimmy
Tue Mar 28, 2023 5:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 521

XBROWSE MODO SOLO LECTURA

Como puedo eliminar los Iconos Add Edit Delete cuando lo uso en Modo ReadOnly?

Saludos
PAul
by PAUL SIMM
Fri Mar 10, 2023 10:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE MODO SOLO LECTURA
Replies: 3
Views: 359

Re: lReadOnly combobox

ReadOnly
oCom:Disable()
or Editable
oCom:Enable()
?
by cmsoft
Sat Mar 04, 2023 10:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: lReadOnly combobox
Replies: 1
Views: 149

Re: Readonly and/or disable GETs background color

Ok, never mind, it was my fault, sorry. I can change the GETs color (normal, readonly or disabled) with the usual SetColor() function. I forgot to have some code that changed the color back. :-)

EMG
by Enrico Maria Giordano
Sat Aug 06, 2022 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

Ok, bColorBlock (actually bColor) is evaluated inside paint event. So this is the only option, it seems. I would like to avoid using paint event.

EMG
by Enrico Maria Giordano
Fri Aug 05, 2022 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

//TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, IF( .NOT. oGet:lActive, {CLR_BLACK, CLR_HGRAY}, {CLR_BLACK, CLR_WHITE} )) }
//fix for readonly gets
// TGet():lDisColors := .f.
// TGet():nClrGrayText := 25
by Horizon
Fri Aug 05, 2022 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

... color del panel disable lo genera con nClrP := GetSysColor( COLOR_WINDOW ) Yes, but I was referring to the fact that the background color of the readonly GETs is set inside the paint event, if I read the TGet source code correctly. Is it the only way? Or are there other ways to override the defaul ...
by Enrico Maria Giordano
Fri Aug 05, 2022 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

... you. So we have to color the background during the paint event, right? And "who" exactly give the default COLOR_WINDOW color to the readonly GETs? Is it an internal Windows behaviour that can be change only using paint event? EMG Si no se especifica lDisColors en false ni bColor, ...
by cmsoft
Fri Aug 05, 2022 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

Hi Otto, you can find the latest release on my website, in the download section. And no, it is not possible to adjust the columns width, sorry.

EMG
by Enrico Maria Giordano
Fri Aug 05, 2022 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865

Re: Readonly and/or disable GETs background color

Hello Enrico,

Because I just see you here online I have a question:
Enrico, I am a very satisfied user of your dbf editor.
Is there maybe a newer version.
It would be practical for me if I could adjust the column width.

Best regards,
Otto


EMAGDBU.EXE 595.456 10.03.2011 16:05 -a-
by Otto
Fri Aug 05, 2022 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 865
PreviousNext

Return to advanced search