Hi,
How can I change the Headers in xBrowse while it is displayed?
Thanks,
Marc
oBrw:SetHeaders( , , ahoofding, , , , )
oBrw:DrawHeaders()
oBrw:Jan:cHeader := 'cChangedJan'
oBrw:Refresh()
// Old Column-Titles
// ------------------------
oLbx:aCols[ 1 ]:cHeader = Padr("No.", 3)
oLbx:aCols[ 2 ]:cHeader = Padr("Start", 19)
// Define New Column-Titles on any Mouse-Click
// -----------------------------------------------------
for nFor := 1 to 2 // 2 Columns
oLbx:aCols[ nFor ]:bRClickHeader := ;
{|r,c,f,o| IIF( o:nCreationOrder = 1, o:cHeader := "Text 1", o:cHeader := "Text 2"), oLbx:Refresh() }
oLbx:aCols[ nFor ]:bLClickFooter := ;
{|r,c,f,o| IIF( o:nCreationOrder = 1, o:cHeader := "Text 1", o:cHeader := "Text 2"), oLbx:Refresh() }
oLbx:aCols[ nFor ]:bRClickFooter := ;
{|r,c,f,o| IIF( o:nCreationOrder = 1, o:cHeader := "Text 1", o:cHeader := "Text 2"), oLbx:Refresh() }
oLbx:aCols[ nFor ]:blDClickData := ;
{|r,c,f,o| IIF( o:nCreationOrder = 1, o:cHeader := "Text 1", o:cHeader := "Text 2"), oLbx:Refresh() }
oLbx:aCols[ nFor ]:bRClickData := ;
{|r,c,f,o| IIF( o:nCreationOrder = 1, o:cHeader := "Text 1", o:cHeader := "Text 2"), oLbx:Refresh() }
next
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 46 guests