1. RE: Phil Russel - EuGrid

Hi Jonas,

Sorry not to reply sooner - I've been away for a few days sans access to 
PC.

A few notes in response:

1. If you want to display non-editable, non-highlighted text then just 
use a column type of EGW_STATIC (not EGW_EDIT).  

2. EGW_COL_EDITABLE displays the edit control but does not allow an 
edit. It *does* allow you to copy the contents though (by ctrl-c or 
right-click menu), which is occasionally desirable.  EGW_COL_DISABLED by 
contrast does not display an edit control and draws the text in the 
windows 'greyed text' way.

3. The problem with the background colour of an edit control not 
matching the cell background should be fixed in 1.3 (it is on my PC). 
You can use the version of 1.3 that I sent you - it is not going to 
change in any meaningful way before I release it, as the only thing I 
haven't finished is...

4. ...the documentation, which as you noticed is a bit out-of-date.  Any 
day now blink

5. There is no built-in support for when a user tabs etc into a cell yet 
(though there should - and will be).  I think that I can come up with a 
workaround though. Give me a day or so and I'll post it (if it works).

HTH,

Phil

new topic     » topic index » view message » categorize

2. RE: Phil Russel - EuGrid

Phil Russell wrote:
> 
> Hi Jonas,
> 
> Sorry not to reply sooner - I've been away for a few days sans access to 
> PC.
> 
> A few notes in response:
> 
> 1. If you want to display non-editable, non-highlighted text then just 
> use a column type of EGW_STATIC (not EGW_EDIT).  
> 

Well, I used EGW_EDIT because I was under the impression an EGW_STATIC
could not be multiline.  However, I've come to uderstand I was wrong.  I
probably thought that because the IDE doesn't support setting that style
for a static cell.

> 2. EGW_COL_EDITABLE displays the edit control but does not allow an 
> edit. It *does* allow you to copy the contents though (by ctrl-c or 
> right-click menu), which is occasionally desirable.  EGW_COL_DISABLED by 
> contrast does not display an edit control and draws the text in the 
> windows 'greyed text' way.

Well, using EGW_STATIC makes the EGW_COL_EDITABLE/EGW_COL_DISABLED issue
a non-issue.

> 
> 3. The problem with the background colour of an edit control not 
> matching the cell background should be fixed in 1.3 (it is on my PC). 
> You can use the version of 1.3 that I sent you - it is not going to 
> change in any meaningful way before I release it, as the only thing I 
> haven't finished is...
> 
> 4. ...the documentation, which as you noticed is a bit out-of-date.  Any 
> day now blink
>

I'll be anxiously waiting!

> 5. There is no built-in support for when a user tabs etc into a cell yet 
> (though there should - and will be).  I think that I can come up with a 
> workaround though. Give me a day or so and I'll post it (if it works).
>

Tbanks! I would greatly appreciate that!  I'm doing a small demo program 
to show a client we can replace their character based interface with a 
Windows interface without changing anything on the host system.  I 
certainly would not be able to pull this off without EuGrid!

Jonas
 
> HTH,
> 
> Phil
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. RE: Phil Russel - EuGrid

Jonas Temple wrote:
> 
> Phil Russell wrote:
> > 
> > Hi Jonas,
> > 
> > Sorry not to reply sooner - I've been away for a few days sans access to 
> > PC.
> > 
> > A few notes in response:
> > 
> > 1. If you want to display non-editable, non-highlighted text then just 
> > use a column type of EGW_STATIC (not EGW_EDIT).  
> > 
> 
> Well, I used EGW_EDIT because I was under the impression an EGW_STATIC
> could not be multiline.  However, I've come to uderstand I was wrong. 

>
> I probably thought that because the IDE doesn't support setting that style
> for a static cell.

This should have worked but I found a little bug sad It will definitely be 
fixed for the next IDE release. Anyone wanting the fix, just e-mail me.

SNIP 

> Jonas
>  
> > HTH,
> > 
> > Phil
> > 
> >

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu