Author |
Topic: #handle "rule " (Read 590 times) |
|
Monkfish
Full Member
member is offline


Gender: 
Posts: 104
|
 |
Re: #handle "rule "
« Reply #2 on: Jul 20th, 2015, 9:25pm » |
|
If users are changing the colour of different boxes and want to change them back out of order, can I achieve this by assigning each a segment name?
|
| « Last Edit: Jul 20th, 2015, 9:28pm by Monkfish » |
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: #handle "rule "
« Reply #3 on: Jul 20th, 2015, 9:57pm » |
|
on Jul 20th, 2015, 9:25pm, Monkfish wrote:| If users are changing the colour of different boxes and want to change them back out of order, can I achieve this by assigning each a segment name? |
|
LBB doesn't support segments, so that's not relevant. But graphicboxes are independent so the flush/redraw method can be used to restore the background colour to the previously saved state for that box in any order.
If you need to save more than one state for a given graphicbox (which you shouldn't if you simply want to restore the previous condition), then use getbmp and drawbmp instead of flush and redraw.
Richard.
|
|
Logged
|
|
|
|
Monkfish
Full Member
member is offline


Gender: 
Posts: 104
|
 |
Re: #handle "rule "
« Reply #4 on: Jul 20th, 2015, 10:04pm » |
|
Thanks Richard, I will look into it. btw I made a donation the other day, but still seeing the ads. not sure how that works.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: #handle "rule "
« Reply #5 on: Jul 20th, 2015, 10:21pm » |
|
on Jul 20th, 2015, 10:04pm, Monkfish wrote:| I made a donation the other day, but still seeing the ads. not sure how that works. |
|
Conforums works by calendar months, so it's wasteful to use a donation only for the last twelve days or so of July. Yours will result in the forum being ad-free in August.
Can I encourage others to donate too, if they are so inclined.
Richard.
|
|
Logged
|
|
|
|
|