EV_RICH_TEXT into EV_GRID

24 views
Skip to first unread message

Jimmy Johnson

unread,
May 26, 2026, 12:07:19 AM (3 days ago) May 26
to Eiffel Users
How do I put an EV_RICH_TEXT into an EV_GRID?

Items added to an EV_GRID must be of type EV_GRID_ITEM.
Can a class inherit from two EV_xxx classes (say EV_RICH_TEXT and EV_GRID_ITEM)?
If so, which implementation do I select?  etc.

thanks,
jjj

rfo amalasoft.com

unread,
May 26, 2026, 10:45:53 AM (2 days ago) May 26
to eiffel...@googlegroups.com
Hi Jimmy
Though I have never done such a thing, I suspect there might be some challenges but it might be possible.  Looking at the EV_GRID_ITEM family, it seems there are some descendants that have associated, albeit ephemeral, widgets.  These include EV_GRID_EDITABLE_ITEM with its associated text widget (EV_TEXT_FIELD) that appears as the result of an agent activation.  Conceivably, one could adapt that (i.e. create a child of it) to have an associated EV_RICH_TEXT widget.
Roger


From: eiffel...@googlegroups.com <eiffel...@googlegroups.com> on behalf of Jimmy Johnson <eiffe...@gmail.com>
Sent: Tuesday, May 26, 2026 12:07 AM
To: Eiffel Users <eiffel...@googlegroups.com>
Subject: [eiffel-users] EV_RICH_TEXT into EV_GRID
 
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/eiffel-users/7b10cbd0-1f47-4baf-8964-22018bfa4525n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages