I've been playing around with implementing a toolbar and have an almost workable solution. The project description and source code can be found at http://bergroth.on-rev.com/ibTools/styled-3/index.html
Here is a picture of the current version:
Search found 60 matches
- Thu Mar 07, 2013 4:04 pm
- Forum: Mac OS
- Topic: Create a toolbar
- Replies: 25
- Views: 22624
- Mon Mar 04, 2013 4:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resizing stack
- Replies: 2
- Views: 2925
Re: Resizing stack
Don't stacks that are transparent have to have their windowShape set? That brings me straight back to my original problem. If however I could have a transparent stack and be able to draw a rectangle during resizing that would solve the problem.
- Mon Mar 04, 2013 11:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resizing stack
- Replies: 2
- Views: 2925
Resizing stack
I have a stack that I would like to resize using a custom handler. However, the drawing of the stack seems to be too cpu intensive causing flickering. I wanted to explore an option of resizing like LiveCode (with live resizing off) does by just drawing a frame and after the user releases the mouse b...
- Thu Feb 28, 2013 12:42 pm
- Forum: Mac OS
- Topic: Create a toolbar
- Replies: 25
- Views: 22624
Re: Create a toolbar
Dragging the window is simple. If your toolbar is for example a rectangle, just add a dragging script to it. You can cut and copy the code from the 'How to make a stack with a window shape' lesson on the RunRev site: http://lessons.runrev.com/s/lessons/m/4071/l/6867-how-to-make-a-stack-with-a-window...
- Mon Jul 23, 2012 1:33 pm
- Forum: Mac OS
- Topic: Livecode & MacBook Pro Retina
- Replies: 6
- Views: 7204
Re: Livecode & MacBook Pro Retina
I have a Retina MacBook Pro and LiveCode works just fine without having to do anything. Apps will only be small if you change the resolution to 2880*1800 but that is virtually unusable anyway on a 15" screen.
--ibe
--ibe
- Thu Sep 22, 2011 5:07 pm
- Forum: Announcements
- Topic: ibCalendar 1.0 for DropTools
- Replies: 2
- Views: 3993
ibCalendar 1.0 for DropTools
The ibCalendar control mimics the behavior of the iCal calendar from OS X Snow Leopard. It is a control that allows the user to select a date. When a date is selected, a message is sent to inform what date was selected and from which ibCalendar control it came from. The control itself is quite simpl...
- Sun Aug 28, 2011 10:29 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettes and main stack focus
- Replies: 8
- Views: 8168
Re: Palettes and main stack focus
Setting the windowShape causes a flicker so it's obviously overriding the lock screen. That wouldn't be a problem but the push/pop solution did not keep focus on the parent. I'll have to try and find some other solution.
- Sat Aug 27, 2011 2:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettes and main stack focus
- Replies: 8
- Views: 8168
Re: Palettes and main stack focus
Some progress here. If you just have a palette or two, it's simple to get this to work so it looks like the main stack has focus all the time: 1. in the main stacks preOpenStack handler add the lines: go stack "child" set the blendLevel of stack "child" to 100 in the child's stack script add: on clo...
- Sat Aug 27, 2011 12:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettes and main stack focus
- Replies: 8
- Views: 8168
Re: Palettes and main stack focus
I'm on a mac and this is what I see. I open my test stack and give the command go stack "child": http://bergroth.on-rev.com/ibTools/tmp/prob_what_i_get.png as you can see the palette window is definitely active, it's decoration is showing and the parent's decorations are greyed out. However if I add...
- Fri Aug 26, 2011 7:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettes and main stack focus
- Replies: 8
- Views: 8168
Re: Palettes and main stack focus
Ok. I don't really care if a stack is active or not. But in the IDE I can see that the Tools palette can be moved around and still my main stack stays active. So how do I fake the same behaviour?
- Fri Aug 26, 2011 4:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettes and main stack focus
- Replies: 8
- Views: 8168
Palettes and main stack focus
1. create a new main stack 'parent' 2. create a new substack for 'parent' called 'child' 3. from the Message Box give command: set the style of stack "child" to palette 4. save the project and remove it from memory 5. open the project 6. from the Message Box give command: show stack 'child' The chil...
- Fri Aug 26, 2011 9:39 am
- Forum: Announcements
- Topic: ibPopover 1.0 for DropTools
- Replies: 1
- Views: 3172
ibPopover 1.0 for DropTools
The ibPopover control mimics the behavior of popovers introduced in OS X Lion. Basically it is a translucent window with an arrow pointing to the source it was opened from. Popovers automatically move whenever the main stack moves. ibPopover also allows detaching to become a separate window. When th...
- Fri Aug 19, 2011 10:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening stack as a palette
- Replies: 6
- Views: 5913
Re: Opening stack as a palette
Thanks, just found it myself in an old forum thread. Works for me too. I wonder why the dictionary has nothing on this.
- Fri Aug 19, 2011 9:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening stack as a palette
- Replies: 6
- Views: 5913
Opening stack as a palette
I want my stack to open as a palette. I did a test stack where the only code was on preOpenStack palette this stack pass preOpenStack end preOpenStack no effect. It does get called so that's not the problem. Doesn't work with the openStack handler either. But if I call "palette stack "palette test""...
- Fri Aug 19, 2011 7:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Running in IDE or as standalone
- Replies: 2
- Views: 3214
Re: Runninin IDE or as stadalone
Thanks Richard. I was looking for runtime/standalone/etc but didn't think of environment.