New topic: 

iOS style Picker for RealStudio

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

         Page 1 of 1
   [ 10 posts ]                 Previous topic | Next topic          Author  
Message        DaveS          Post subject: iOS style Picker for 
RealStudioPosted: Sun Feb 24, 2013 4:12 pm                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4594
Location: San Diego, CA                I put a quite a bit of work into this 
and think it turned out quite nicely.
It is 100% RealStudio code with no external images, all in a single Control 
Class





demo program : http://www.rdsisemore.com/picker_demo.app.zip

this is compiled for OSX... but the code should work in Win as well.

If anyone is interested.. let me know.... but due to the work I put into I'd 
like a donation of $5?      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                spacebuddy          Post 
subject: Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 4:18 pm    
                             
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 87                You state the code should work in Windows, has this 
been tested
under Windows 7 or 8?

Thanks      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1
http://www.xshld.com  
                             Top                DaveS          Post subject: 
Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 4:33 pm             
                    
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4594
Location: San Diego, CA                it has not.... 
but I can compile a test ... it will only run for 5 min as that is a limitation 
of my version of RS....


http://www.rdsisemore.com/picker_demo_windows.zip

Compiled... BUT NOT TESTED ... as I don't have a Win7/8 machine at my disposal  
    
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                spacebuddy          Post 
subject: Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 4:58 pm    
                             
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 87                Downloaded the file, when I run it on Windows 8 I get 
an error.

An exception of class PlatformNotSupportedException was not handled. The
Application must shutdown.


Windows also complained the file could be dangerous and not 
to download. 

Using the latest version of RB for Windows.      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1
http://www.xshld.com  
                             Top                DaveS          Post subject: 
Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 6:58 pm             
                    
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4594
Location: San Diego, CA                might be the fact I'm using transparent 
colors to draw the shadows.....
but since I cannot test it under Win my self.... I cannot diagnoise the issue.. 
sorry


Note : as this is a demo project... it is not code-signed etc... so just ignore 
any GateKeeper messages.

If you do want a copy of the source code : 
http://www.rdsisemore.com/ios_style_picker.htm      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                spacebuddy          Post 
subject: Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 7:51 pm    
                             
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 87                I think if you add this it will work.

In the Open event of the App class enables GDI+ on Windows.
App.UseGDIPlus = True      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1
http://www.xshld.com  
                             Top                DaveS          Post subject: 
Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 8:25 pm             
                    
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4594
Location: San Diego, CA                
http://www.rdsisemore.com/picker_demo_windows.zip

added UseGDIPlus flag      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                spacebuddy          Post 
subject: Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 8:27 pm    
                             
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 87                Dave,

That fixed the problem.      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1
http://www.xshld.com  
                             Top                DaveS          Post subject: 
Re: iOS style Picker for RealStudioPosted: Sun Feb 24, 2013 8:37 pm             
                    
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4594
Location: San Diego, CA                cool... post a pic or two of what it 
looks like under windows please?

remember the windows version I posted will only run for 5 min and expires in 10 
days.... 
This is because I compiled it with an OSX version of RS that only supports a 
"trial compile" under Windows      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                spacebuddy          Post 
subject: Re: iOS style Picker for RealStudioPosted: Mon Feb 25, 2013 1:16 am    
                             
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 87                Here are two pics.


      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1
http://www.xshld.com  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 10 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