bb.donnay-software.com

Donnay Software Web Forums
It is currently Wed Dec 11, 2019 10:55 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: xtpControlEdit
PostPosted: Sun Jan 02, 2011 4:03 am 
Offline

Joined: Wed Jan 27, 2010 10:23 pm
Posts: 33
Hi -

I am currently playing around with the sample RIBBON.PRG ...
Don't know whats wrong, - but I cannot run an edit control on a tab of a ribbon bar..
It displays well - but no way to enter any chars..

Any help appreciated..

- Michael
Code:
STATIC FUNCTION _StartRibbon(o)

Local oRibbonBar, oControl, oPopUp, oTab1, oTab2, oControlFile

oRibbonBar := o:AddRibbonBar("Ribbonbar1")
oRibbonBar:enableDocking(xtpFlagStretched)

oControlFile := oRibbonBar:AddSystemButton()
oControlFile:IconId := 0
oControlFile:Caption := "&File"
oControlFile:CommandBar:Controls:Add( xtpControlButton, 10, "&New" )
oControlFile:CommandBar:Controls:Add( xtpControlButton, 11, "&Open..." )
oControlFile:CommandBar:Controls:Add( xtpControlButton, 12, "&Save" )
oControlFile:CommandBar:Controls:Add( xtpControlButton, 13, "Save &As..." )

oControl := oRibbonBar:Controls:Add(xtpControlPopup, -1, "&Popup ONE", 1)

oPopUp := oControl:CommandBar:Controls
oPopUp:Add(xtpControlButton, 1, "&Nieuw")
oPopUp:Add(xtpControlButton, 2, "&Edit")

oControl := oPopUP:Add(xtpControlButton, 3, "&Save")
oControl:BeginGroup := .T.

oTab1 := oRibbonBar:InsertTab(0, "&Write")
oTab2 := oRibbonBar:InsertTab(0, "&Read")
oGroup := oTab1:Groups:AddGroup("Group",50)
oSearchGroup := oGroup:Add(xtpControlEdit, 51, "Search:")
oSearchGroup:EditHint := "Enter here..."
oSearchGroup:Width := 100
oSearchGroup:TextLimit := 10

return nil


Top
 Profile  
 
 Post subject: Re: xtpControlEdit
PostPosted: Sun Jan 02, 2011 8:28 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4014
Location: Boise, Idaho USA
I could not figure out how to do that either.

My least favorite Codejock control is the Ribbon Bar.

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
 Post subject: Re: xtpControlEdit
PostPosted: Wed Jan 12, 2011 2:28 am 
Offline

Joined: Wed Jan 27, 2010 10:23 pm
Posts: 33
this is weird - because Wolfgang Ciriak told me that he CAN enter in his testprogram
He uses Codejpck 13.0.0 and eXPress 252 together with SL1..

Is it possible to place a simple xbpsle on the command bar?

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group