U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Ctrls<>() Callback / Disable some rows
Re: Ctrls<>() Callback / Disable some rows [message #10017 is a reply to message #10001] Wed, 13 June 2007 23:36 Go to previous messageGo to previous message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
This is my response to several posts:

Quote:

OK, after more thinking, what about this simple (U++-ish) solution:


That is very similar to what I was previously doing... when I was getting the grey boxes. See the attached image.

I liked that method and everything was fine... expect the funky boxes.



Quote:

Ok, I will add it. But you can use now:
grid(COLUMN_ID) = val
or
grid.Set(COLUMN_ID, val);
to set value of cell in row pointed internally by rowidx. rowidx changes automaticaly if you add new row or change cursor position.


Well, that is fine, but it does not address my issue. I need to be able to set a cell's value that is in a different row than the cursor. I do not always know the column position... but I do know the column name. Hence the need for a Set( row, col_id, value ) method.

Is there another way to do this that I missed? If so please let me know.

Robert
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl align text in column
Next Topic: GridCtrl - Child Ctrl, selected row, focus issue
Goto Forum:
  


Current Time: Sat Sep 12 19:11:13 GMT+2 2026

Total time taken to generate the page: 0.00909 seconds