Request : Dark-Mode for Controls

Post Reply
User avatar
Jimmy
Posts: 1742
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Request : Dark-Mode for Controls

Post by Jimmy »

hi,

i like Dark-Mode but Function like FWEditStrings() have no Parameter for COLOR or FONT of XBROWSE

Code: Select all | Expand

::EditSource -> ::Edit -> ::DataRow() -> METHOD Edit( lReadOnly, lNavigate, cTitle, cMsg ) CLASS TDataRow

   DEFINE DIALOG oDlg SIZE 800,500 PIXEL FONT oFont TITLE cTitle
   oPanel   := TScrollPanel():New( 20, 20, 200, 360, oDlg, .t. )
   oPanel:SetColor( CLR_BLACK, oDlg:nClrPane )
   oPanel:SetFont( oDlg:oFont )
how can i "paint it black" and set "my" Foreground Color :?:

---

i have search for "more" XBROWSE but they seems not to pass COLOR or FONT in these *.prg
C:\fwh\source\function\adofuncs.prg
C:\fwh\source\function\callstac.prg
C:\fwh\source\function\dbgtable.prg
C:\fwh\source\function\dostofwh.prg
C:\fwh\source\function\ereport.prg
C:\fwh\source\function\erfile.prg
C:\fwh\source\function\ertools.prg
C:\fwh\source\function\expbuild.prg
C:\fwh\source\function\fileedit.prg
C:\fwh\source\function\fwdecode.prg
C:\fwh\source\function\matrices.prg
C:\fwh\source\function\strings.prg
C:\fwh\source\function\webapp.prg
C:\fwh\source\function\xbrgetdt.prg
C:\fwh\source\function\xbrowser.prg
C:\fwh\source\function\xmlview.prg
---

under Xbase++ i can set "Presentation-Parameter" ( COLOR / FONT ) and all Child will use "these" as default

while Controntr are based on TControl() which are FROM TWindows() i wonder why Child does not have COLOR / FONT of Parent :?:
greeting,
Jimmy
Post Reply