Version 13.0.0 Timeline? |
Post Reply |
Author | |
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
Posted: 07 March 2009 at 9:33am |
Hi,
With 13.0.0 I have a visual problem when clicking on the 'Timeline mode'. I can activate it, but when I 'unselect' it, I have the following view. The header appears twice.
Regards,
Chris.
|
|
ABO Service
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Timeline button on Caption bar is one of radio-buttons in group. You can hide it using ShowTimelineButton = False
If you press this button control WITH internal Caption Bar call internally call function to hide CaptionBarc - this is how our VB and MFC sample demonstrate this feature.
If you use own Caption Bar object - not part of Calendar Control - you can call your own function to hide Timeline button YourCaptionBar.ShowTimelineButton = False
Or you can use Caption Bar object event BeforeItemClick and do smth you want like hide Caption Bar after user click on Timeline button - same as internal Caption Bar do.
But I will think about changing reaction on Timeline button click in the case it already checked.... |
|
Auge_Ohr
Groupie Joined: 20 December 2008 Status: Offline Points: 65 |
Post Options
Thanks(0)
|
this is a Xbase++ :resize() Problem. workaround : Use Codejock Commandbar too and :resize Problem "on Top" will be much better with Xbase++ :) |
|
greetings by OHR
Jimmy |
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi,
According to the documentation and your post, there should be a property ShowTimelineButton.
This isn't working on my system. When I check the properties with an object inspector, this property isn't in the list?
I'm using v13.0.0, could this be a bug in this version?
Regards,
Chris.
|
|
ABO Service
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
In MFC - CXTPCalendarControlView::GetCalendarCaptionBarCtrl().EnableTimeline(FALSE); //Tested in our MFC sample!
In ActiveX - CalendarCaptionBar object has property ShowTimelineButton
but there is ALSO access throw CalendarControl -
CalendarControl.ShowTimelineButton = False //Tested in our VB6 sample!
and this is sync for timeline mode in our VB sample
Private Sub mnuShowTimeline_Click()
If Not CalendarControl.ShowCaptionBar Then CalendarControl.ViewType = xtpCalendarMonthView Else CalendarControl.ViewType = xtpCalendarTimeLineView End If CalendarControl.ShowCaptionBar = Not CalendarControl.ShowCaptionBar End Sub |
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi,
I'm sorry, but I don't succeed. I'm working with xBase++
oCaptionbar:ShowTimelineButton := .F. gives me an error. The object inspector shows me all the properties, except ShowTimelineButton.
oCalendar:ShowTimelineButton := .F. makes no difference. It isn't working, but there is no error message. The object inspector isn't showing this property.
Any suggestions?
Chris.
|
|
ABO Service
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
As you are deals with XBase++ it is difficult to check. Cause there is no problems with VB6 - our common testing environment. How easy and fast to me create XBase++ testing env?
As I understand from your piece of code you use separeted CaptionBarControl object - not built-it in CalendarControl. Is it true?
Because call from CalendarControl check if internal m_pCalendarCaptionBar exist:
void CCalendarControlCtrl::OleSetShowTimelineButton(BOOL bSet)
{ if (m_pCalendarCaptionBar) m_pCalendarCaptionBar->EnableTimeline(bSet); } OleSetShowTimelineButton == ActiveX ShowTimelineButton(TRUE or FALSE)
Would you like to try my current version?: https://forum.codejock.com/uploads/temp/20090308_170847_BetaCalendar.rar
|
|
Auge_Ohr
Groupie Joined: 20 December 2008 Status: Offline Points: 65 |
Post Options
Thanks(0)
|
hi,
i have test it again. letīs say we are in MonthView. Now i click on Timeline in Captionbar i got what Chris say. When i click again(!) on Timeline Radiobutton it appear. from Timeline : if i click Timeline Radiobutton in Timeline i got what Chris say, but when i direct press MonthView it is ok. so as workaround : disable hole Captionbar and make own Botton to switch between Timeline OnOn and OffOff. |
|
greetings by OHR
Jimmy |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Is it because of XBase++ ? Did you try current beta in this case?
|
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi, It seems that my object inspector is based on 12.1.1 and it doesn't include the new properties of 13.0.0. That's the reason I didn't see the property in oCaptionBar. I will try the beta-ocx to see if I get the same result. It would be a pitty that I have to create my own captionbar. The current behaviour is in my opinion wrong. There is no reason at all to show the lines twice as in my screenshot.
Regards,
|
|
ABO Service
|
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi,
There is a 30-day trial available for Xbase++. However it can take some time to set it up.
See the website www.alaska-software.com.
Regards,
Chris.
|
|
ABO Service
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |