Search found 196 matches: opanel

Return to advanced search

Re: New FTDN April 2024 (FWH 24.04)

... revisa nuevo ejemplo en FWH\samples\fldchanged.prg * Mejora: En el método Update( Pos ) de la clase TExplorerBar, actualiza el nPos del objeto oPanel utilizado desde TExplorerBar después de que el panel haya sido modificado. Clase TTaskPanel el método ChangeHeight( nHeight ) cambia la altura ...
by Antonio Linares
Wed May 01, 2024 7:04 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 402

New FTDN April 2024 (FWH 24.04)

... nMinutes, nSeconds } Please review new example FWH\samples\fldchanged.prg * Enhancement: Class TExplorerBar Method Update( nPos ) updates the nPos oPanel used from the TExplorerBar after the panel has been modified. Class TTaskPanel Method ChangeHeight( nHeight ) changes the height of the panel. ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 402

eval an action - Resolved!!

... local bClick:= {|| aImg[5 ] } @ nRow, nCol BTNBMP oItem PROMPT aImg[ 1 ] ; FILE aImg[2 ] ; SIZE 72,96 PIXEL OF oPanel ; NOBORDER FLAT oItem:oCursor:= oCursorBtn oItem:baction:= (bClick) not eval the action
by Silvio.Falconi
Tue Mar 05, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 182

Re: To Nageswrao Del Objs on TscrollPanel

function DeleteControl( oPanel, nItem )   local nTop, nLeft      for n := Len( oPanel:aControls ) to nItem + 1 STEP -1      oPanel:aControls[ n ]:nTop := oPanel:aControls[ n - 1 ]:nTop      oPanel:aControls[ ...
by Silvio.Falconi
Mon Mar 04, 2024 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 726

Re: To Nageswrao Del Objs on TscrollPanel

Nages oPanel:aControls[ nItem ]:End() HB_ADel( oPanel:aControls[ nItem ], nItem, .t. ) ASize( oPanel:aControls, Len( oPanel:aControls ) ) oPanel:SetRange() oPanel:refresh() I saw on oPanel:aControls there are also the records ...
by Silvio.Falconi
Thu Feb 29, 2024 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 726

Re: To Nageswrao Del Objs on TscrollPanel

To delete nth control of a Panel/dialog/window oPanel:aControls[ n ]:End()HB_ADel( oPanel:aControls[ n ], n, .t. ) To delete current row in XBrowse ( applies to arrays, dbf, ado or any data source) oBrw:Delete()oBrw:Refresh() ...
by Silvio.Falconi
Wed Feb 28, 2024 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 726

To Nageswrao Del Objs on TscrollPanel

... how I can resolve ? I Tried with ( but run bad) FOR i := 1 TO LEN(oBrw:aCols) oCol := oBrw:aCols[ i ] oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) } NEXT Function Erase_Items(oBrw,oPanel) local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2] aDel(oBrw:aArraydata,nItem-1) // xbrowser oBrw:aArraydata ...
by Silvio.Falconi
Mon Feb 26, 2024 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 726

Re: UrlLnk with Popup menu

Antonio Linares wrote:Try this:

ACTIVATE POPUP oMenu WINDOW oPanel AT 0, 0


yes now I see it on the left of the oPanel
by Silvio.Falconi
Sun Feb 25, 2024 4:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UrlLnk with Popup menu
Replies: 4
Views: 257

Re: UrlLnk with Popup menu

Try this:

ACTIVATE POPUP oMenu WINDOW oPanel AT 0, 0
by Antonio Linares
Sat Feb 24, 2024 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UrlLnk with Popup menu
Replies: 4
Views: 257

Re: UrlLnk with Popup menu

Antonio Linares wrote:Have you tried this ?

ACTIVATE POPUP oMenu WINDOW oPanel AT aPoint[1], aPoint[2]


Yes of course
Probabile i made an error because before i saw a menu on down, far from panel but then It Is not showed anywhere
by Silvio.Falconi
Sat Feb 24, 2024 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UrlLnk with Popup menu
Replies: 4
Views: 257

Re: UrlLnk with Popup menu

Have you tried this ?

ACTIVATE POPUP oMenu WINDOW oPanel AT aPoint[1], aPoint[2]
by Antonio Linares
Fri Feb 23, 2024 7:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UrlLnk with Popup menu
Replies: 4
Views: 257

UrlLnk with Popup menu

... bottom of a UrlLnk control? I tried but it showed the menu far from url lnk On TexplorerBar I insert a link local bClick := { | o | addMenu() } oPanel4:AddLink( "testlink", bClick, ".\bitmaps\mail.bmp",oFontSmall,CLR_BLACK,CLR_WHITE ) tried with Function AddMenu() local aPoint ...
by Silvio.Falconi
Fri Feb 23, 2024 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UrlLnk with Popup menu
Replies: 4
Views: 257

Re: Create a Panel width a text

I found a function CalcTextHeight(cText, oFont, nWidth,oPanel) but it not run ok because the other panels are not refreshed https://i.postimg.cc/wvPFgmWd/test.gif #include "FiveWin.ch"//#include "ribbon.ch"//----------------------------------------------------------------------------//static ...
by Silvio.Falconi
Fri Feb 16, 2024 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3232

Re: Create a Panel width a text

If I made IF oDlgBacheca:nresult == IDOK aDim = GetLabelDim( oPanel2:hWnd, cMessage , oFont:hFont ) oPanel:setsize(aDim[ 1 ] + 60, aDim[ 2 ] + 50) oPanel:SetColor( "N/W*" ) oPanel:bPainted = { | hDC | DrawTextTransparent( hDC, cMessage , { 10, ...
by Silvio.Falconi
Sat Jan 06, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3232

Re: Create a Panel width a text

... "ribbon.ch"//----------------------------------------------------------------------------//function Main()   local oWnd, oExBar, oPanel1, oPanel2, oPanel3, oPanel4   local bClick := { | o | MsgInfo( o:GetText() ) }   local uVar, oBrw, oPanel, aDim, oFont  ...
by Silvio.Falconi
Sat Jan 06, 2024 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3232
Next

Return to advanced search