New topic: 

DTPicker

<http://forums.realsoftware.com/viewtopic.php?t=46993>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        Djamel          Post subject: DTPickerPosted: Tue Feb 19, 2013 
6:03 am                                 
Joined: Fri Feb 15, 2013 6:07 am
Posts: 14
Location: Oran, Algeria                Hello,

Using MS DTPicker control in RB project, how to display date an time system with
both Date and time  DTPicker ?

regards.   
                             Top                pixe656          Post subject: 
Re: DTPickerPosted: Tue Feb 19, 2013 7:32 am                         
Joined: Wed May 20, 2009 11:02 am
Posts: 408                You should try to find an alternative, search the 
forum and you will find free date pickers (I can't remember any that includes 
time, though). You can also make your own.

If it is at all possible to use MS DTPicker (maybe not because of the limited 
compatibility of RS with ActiveX controls), you have to distribute the library 
that has that function with you application, and you should check the pertinent 
license terms (distributing a dll/ocx made by MS for use in a RB app...). I 
think this is a more painfull path than realizing that RB is not VB, and you 
need to think in RB ways, letting go VB.

Still, it might be possible through declares.

Also, to round up the references I posted in reply to you in another thread, 
for windows you should also check the Windows Functionality Suite, which is a 
compilation of functions and declares that may save you a lot of work (on 
windows, as I said). It is included in the examples folder in the newer 
distributions, if I am not wrong.

Pixe      
_________________
Using RS2011r4.3 on Windows7.  
                             Top                Djamel          Post subject: 
Re: DTPickerPosted: Tue Feb 19, 2013 11:09 am                                 
Joined: Fri Feb 15, 2013 6:07 am
Posts: 14
Location: Oran, Algeria                pixe656 wrote:You should try to find an 
alternative, search the forum and you will find free date pickers (I can't 
remember any that includes time, though).
Pixe
I do not understand why date is diplayed properly and not for the time ?   
                             Top                pixe656          Post subject: 
Re: DTPickerPosted: Tue Feb 19, 2013 11:13 am                         
Joined: Wed May 20, 2009 11:02 am
Posts: 408                These will be custom controls (made by RB users, not 
Real software, and shared with other users), and maybe picking the time has not 
been implemented by the coder, simply.

It's no a matter of displaying it correctly, it's not there. But you may find 
one that does have the choice to pick the time too, I don't know.

Pixe      
_________________
Using RS2011r4.3 on Windows7.  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to