Home » Community » Newbie corner » Custom/Weird Array Setup
Re: Custom/Weird Array Setup [message #46216 is a reply to message #46209] |
Sun, 27 March 2016 10:50   |
bempson
Messages: 8 Registered: March 2016
|
Promising Member |
|
|
Here is my progress so far.
The red portion is a custom display I set up to render text in that area, seems to be working fine.
I had to subclass ArrayCtrl, modify ArrayCtrl to expose certain private variables (the paint() method depends upon them), and modify the paint() routine to paint my special display after all of the columns in the row.
It's ugly (oh man I changed a base class to do it! yuck!), it's kludgy, but hey, it works so far.
I have a question, if I am drawing text in the red area, how can I notify the Ctrl class itself about the size needed to accomodate the text? Right now the values are statically assigned, but I will need to fix this so that somehow, the paint() routing would have some sort of hint as to the size (height) of the rectangle needed for a certain amount of text.
Any suggestions?
[Updated on: Sun, 27 March 2016 10:50] Report message to a moderator
|
|
|
 |
|
Custom/Weird Array Setup
By: bempson on Sat, 26 March 2016 12:01
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Sat, 26 March 2016 20:28
|
 |
|
Re: Custom/Weird Array Setup
By: Novo on Sat, 26 March 2016 23:22
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Sun, 27 March 2016 05:07
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Sun, 27 March 2016 10:50
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Sun, 27 March 2016 12:58
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Mon, 28 March 2016 00:52
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Mon, 28 March 2016 01:31
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Mon, 28 March 2016 09:00
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Fri, 01 April 2016 06:17
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Fri, 01 April 2016 21:20
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Fri, 01 April 2016 21:38
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Sat, 02 April 2016 11:54
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Sat, 02 April 2016 23:57
|
 |
|
Re: Custom/Weird Array Setup
By: bempson on Sun, 03 April 2016 01:33
|
 |
|
Re: Custom/Weird Array Setup
By: Lance on Sun, 03 April 2016 14:10
|
Goto Forum:
Current Time: Sat Jun 28 17:41:05 CEST 2025
Total time taken to generate the page: 0.04142 seconds
|