Search found 72 matches: aprompts

Return to advanced search

... Function TabChk( nCol, oFld ) local n := 1, nPos := 0 while nPos < nCol .and. n <= Len( oFld:aPrompts ) nPos += GetTextWidth( 0, oFld:aPrompts[ n++ ], oFld:oFont:hFont ) + 5 end msginfo( "Drop to " + oFld:aPrompts[--n]) return n
by Otto
Mon Nov 26, 2007 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & drop folder
Replies: 11
Views: 2404

... different results depending on the length of the folder caption. Regards, Otto while nCol > (nPos + (nTabSize := GetTextWidth( 0, Right(oFld:aPrompts[n],len(oFld:aPrompts[n])-1), oFld:oFont) + iif(n=1,5,5)) ) .and. n < Len(oFld:aPrompts) nPos += nTabSize n++ end *******************Test.prg ...
by Otto
Thu Nov 22, 2007 10:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & drop folder
Replies: 11
Views: 2404

Antonio,
How Increase the space on each tabs to move each aprompts to right ?
by Silvio
Mon Nov 19, 2007 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Header : Themes
Replies: 30
Views: 5800

oFld:aPrompts[ oFld:nOption ] := AllTrim( cTemp ),;
oFld:SetPrompts(oFld:aPrompts) )
by jose_murugosa
Mon Oct 22, 2007 11:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: folder aPrompts problem
Replies: 4
Views: 827

If you change the sample genfold from:
oFld:aPrompts[ oFld:nOption ] := AllTrim( cTemp )
oFld:Refresh() )

to:
oFld:SetPrompts({ "TEST", "&Two", "T&hree" })

than the tab prompt changes.

Regards,
Otto
by Otto
Sun Oct 21, 2007 8:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: folder aPrompts problem
Replies: 4
Views: 827

folder aPrompts problem

FWH samples genfold.prg

Edit aPrompts does not change the TAB only if you add a new TAB
the edited Tab is changed, too.
Regards,
Otto
by Otto
Sun Oct 21, 2007 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: folder aPrompts problem
Replies: 4
Views: 827

How do you assingn?
I tried
oFld:aPrompts[ 1 ]:SetColor(Rgb(0,0,0),Rgb(168,207,110))
but get no exported method.

Regards,
Otto
by Otto
Sun Oct 21, 2007 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oFolder:SetColor()
Replies: 8
Views: 1184

Try assigning oFolder:aPrompts[ n ] and refresh the folder (not tested).

EMG
by Enrico Maria Giordano
Sun Oct 21, 2007 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oFolder:SetColor()
Replies: 8
Views: 1184

I can Fixed it, Thans (Problem with TFolder change Prompt)

Dear Antonio,

I used to change aPrompts and Refresh Folder as following.

oFld:aPrompts[2] := 'Test'
oFld:Refresh()

It works fine with Clipper&FW16bits.
But xHB&FWH707 is not working.

Best regards,
Dutch

I fixed it with SetPrompts()
by dutch
Fri Aug 31, 2007 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I can Fixed it, Thans (Problem with TFolder change Prompt)
Replies: 1
Views: 530

Silvio wrote:si funziona l'esempietto solo che io non so quanti indici ha un archivio


Non ha importanza quanti elementi abbia aIdx. Riempilo e poi assegnalo ad aPrompts come ti ho fatto vedere e vedrai che funziona.

EMG
by Enrico Maria Giordano
Fri Feb 09, 2007 7:49 am
 
Forum: All products support
Topic: conversione degli items di un combobox
Replies: 12
Views: 3763

... setoption use when I must show a tab Instead I ask another help ..... I must write the tab name "xxxxx","xxxxx", "xxxxx" they called ITEMS or aPrompts On the combobos I use ITEMS aaa where aaa is an array with 3 strings Now I want insert these strings into tab control as tab names I hope you ...
by Silvio
Wed Feb 07, 2007 12:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: converte combox -> tab control
Replies: 3
Views: 895

Transformar/Convertir Código em C para [x]Harbour

... HDC, LPRECT rct ); //----------------------------------------------------------------------------// CLIPPER FLDPAINT( PARAMS ) // ( hWnd, hDC, aPrompts, hFont1, hFont2, // nClrPane, nOption, aEnable, nSize, lWin95, // aBmps, nDir, nTabClr, nFocusClr, // nAlign, nOffset ) --> nil { HWND hWnd ...
by karinha
Tue May 02, 2006 1:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Transformar/Convertir Código em C para [x]Harbour
Replies: 3
Views: 1038
Previous

Return to advanced search