Re: [DUG] date format help in TDateTimePicker

2007-08-27 Thread Neven MacEwan
Vikas From memory these are the short and long system date formats so you have 2 options 1/ change your system settings 2/ override the long and short format (there is a function for this) HTH Neven Hi I am using TDateTimePicker to display date in Delphi 5 But the problem is i am not

Re: [DUG] date format help in TDateTimePicker

2007-08-27 Thread Vikas...
Well thanks for your suggestions well Jeremy format option is in Delphi 6 for delphi 5 i have used DateTime_SetFormat(DateTimePicker1.Handle,pchar('dd,MMM,')); this solved my purpose thanks anyways for you quick response On 8/27/07, Neven MacEwan [EMAIL PROTECTED] wrote: Vikas From

RE: [DUG] date format help in TDateTimePicker

2007-08-27 Thread Ross Levis
I believe D5 doesn't have the Format property for TDateTimePicker, which was added in D6 or D7. I had the same problem. You need to do this. DateTime_SetFormat(DateTimePicker1.Handle, pChar('dd--')); Ross. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy

[DUG] Editor mark points

2007-08-27 Thread John Bird
In D2007 the editor mark points (eg set by CTRL+SHIFT+1 etc, jump to with CTRL+1 etc) are saved with the projectalso breakpoints. Which operation saves them? I seem to get old mark points when I reopen a project. John Bird email [EMAIL PROTECTED] Expert in Beyond Software Ph land

RE: [DUG] Editor mark points

2007-08-27 Thread Myles Penlington
I think it is the save project desktop option (if there is any control it is via one of those 2 global options anyway), otherwise it is on by default for all projects (which I don't mind). Myles. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Bird Sent: Monday, 27 August

Re: [DUG] codegearguru updates

2007-08-27 Thread Nick
http://del.icio.us/popular/delphi Listed second under popular eh! :-) Alister Christie wrote: I have a few new training movies on http://codegearguru.com if anyone is interested. Some basic SQL, getting started with VMWare Server, and some basic ClientDataSet stuff, plus the older movies.

Re: [DUG] codegearguru updates

2007-08-27 Thread Alister Christie
Social networking sites are just plain scary! Thanks for the update ;-) Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Nick wrote: http://del.icio.us/popular/delphi Listed second under popular eh!

[DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
Searching the newsgroups and web came up with a blank on this one so I thought I'd throw it to you people to see if any of you are having this problem as well. I have a TPageControl with 8 separate tabs. Three of those tabs are made invisible on startup, to be made visible on certain conditions.

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Rohit Gupta
Hi Steve, I came across that earlier. There are many other stupidities in it. If I had realised they were there, I would not have switched all my notebooks from orpheus to tpagectrl. The last frustrating one was if a tabsheet is visible and you set its Visible property to true, the focus

RE: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Stephen Barker
Hi, While we're on the subject - I've just had a request to allow the user to modify the tab positions on a pagecontrol at runtime. Any easy way to do this or would I need to search for a replacement component? Project is d5 but soon to be d2007. thanks, Steve _ From: Rohit

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
See the TMS Components. But you should be able to cope with normal TPageControl. TPageControl has an ActivePage property where it lists the name of the tabsheet selected (rather than using TabIndex). Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ On 28/08/07, Stephen Barker [EMAIL

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
On 28/08/07, Rohit Gupta [EMAIL PROTECTED] wrote: Hi Steve, Gidday Rohit, A major failing is that it has no way of telling you which page it is going to switch to in the Change event. I had to add another event in that does support it. Within the OnChange event, TPageControl's PageIndex

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Jeremy North
While we're on the subject - I've just had a request to allow the user to modify the tab positions on a pagecontrol at runtime. Any easy way to do this or would I need to search for a replacement component? Project is d5 but soon to be d2007. If themes are enabled you are best off

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
On 28/08/07, Jeremy North [EMAIL PROTECTED] wrote: As to the first problem, I believe there is a QC item for that, but I can't find the report at the moment. Crikey (oops, that term will no doubt be copyrighted by now), I certainly hope so. I'll have a quick squiz a little later to see if I can

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Todd Martin
Why not just use a TTabControl and instantiate each page as a frame embedded in a panel, when the user changes tab? Todd. On Tue, 28 Aug 2007 11:46, Steve Peacocke wrote: Searching the newsgroups and web came up with a blank on this one so I thought I'd throw it to you people to see if any of

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
On 28/08/07, Todd Martin [EMAIL PROTECTED] wrote: Why not just use a TTabControl and instantiate each page as a frame embedded in a panel, when the user changes tab? Todd. You mean, make it act just like a TPageControl? (grin) -- Steve Peacocke http://stevepeacocke.blogspot.com/

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Steve Peacocke
Rohit, The TMS PageControl has an OnCanChange event that passes FromPage and ToPage :) Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ On 28/08/07, Steve Peacocke [EMAIL PROTECTED] wrote: On 28/08/07, Rohit Gupta [EMAIL PROTECTED] wrote: Hi Steve, Gidday Rohit, A major