realbasic

Where can I find Apple's standard source list / sidebar icons?

人走茶凉 提交于 2019-12-08 05:48:40
问题 I'm writing an app for OS X (in REALbasic, not Objective-C). I have implemented a source list (i.e. the sidebar in iTunes) in this app. Where on my system can I find the "standard" icons used on a sidebar, i.e: things like the "eject" and "battery" icon seen in iTunes when your iPod is plugged in. I've checked the iTunes package contents and have found a couple (stuff like the Music and TV shows icons) but that is all. Thanks, 回答1: The standard icons are those defined in Icon Services and

Create a cross platform Windows, Mac OS X application

℡╲_俬逩灬. 提交于 2019-11-29 19:47:00
I would like to build an application that runs on both Windows and Mac OS X. I would also like it to leverage the best of what the platform it runs on has to offer with regards to Frameworks, API's etc. Is there a way to do this without having to write Objective-C code and then C# code? I've been thinking of C++ as an alternative but I was wondering if there was anything else out there. The app will be GUI based (though I don't know exactly what it will do yet) -G. Sherm Pendley It's good that you're thinking of portability early on - it's vastly more difficult to "bolt it on" after the fact.

Why is it bad practice to call an eventhandler from code?

大憨熊 提交于 2019-11-28 17:08:41
Say you have a menu item and a button that do the same task. Why is it bad practice to put the code for the task into one control's action event and then make a call to that event from the other control? Delphi allows this as does vb6 but realbasic doesn't and says you should put the code into a method that is then called by both the menu and the button It's a question of how your program is organized. In the scenario you've described, the menu item's behavior will be defined in terms of the button's: procedure TJbForm.MenuItem1Click(Sender: TObject); begin // Three different ways to write

Create a cross platform Windows, Mac OS X application

浪尽此生 提交于 2019-11-28 14:40:16
问题 I would like to build an application that runs on both Windows and Mac OS X. I would also like it to leverage the best of what the platform it runs on has to offer with regards to Frameworks, API's etc. Is there a way to do this without having to write Objective-C code and then C# code? I've been thinking of C++ as an alternative but I was wondering if there was anything else out there. The app will be GUI based (though I don't know exactly what it will do yet) -G. 回答1: It's good that you're

Why is it bad practice to call an eventhandler from code?

╄→尐↘猪︶ㄣ 提交于 2019-11-27 10:13:33
问题 Say you have a menu item and a button that do the same task. Why is it bad practice to put the code for the task into one control's action event and then make a call to that event from the other control? Delphi allows this as does vb6 but realbasic doesn't and says you should put the code into a method that is then called by both the menu and the button 回答1: It's a question of how your program is organized. In the scenario you've described, the menu item's behavior will be defined in terms of