I was expecting that when an item in an EV_COMBO_BOX is selected, the "index" and "item" of the combo box should change to reflect the selection. But they do...
18578
Peter Gummer
peter_gummer
Jul 4, 2011 12:45 pm
... A lot of people would expect that, David, including me. But in fact 'index39; and 'item' are for programmatic iteration of the items in the list, similar to...
18579
David Jenkins
djenkins99a
Jul 4, 2011 1:08 pm
Thanks Peter. I'll chew on that for a while, maybe I'll like your explanation better then. At the moment it seems pedantic and confusing to have "item" and...
18580
Emmanuel Stapf
manus_eiffel
Jul 4, 2011 1:41 pm
There is also "selected_items" which is used for EV_LISTs that have the ability to select one or more items. Manu ... explanation better then. At the moment it...
18581
werner.lioen
Jul 5, 2011 8:50 am
Hi, I have installed EiffelStudio 6.8 and am trying to create a .NET application. The "Targeted CLR Version:" drop down list does not contain every Microsoft...
18582
Thomas Beale
twbeale
Jul 6, 2011 12:28 pm
for those interested in the new Eiffel Technology Community Workshop outcomes, the report is now relatively complete - see ...
18583
CRISMER Paul-Georges
paul-georges.crismer@...
Jul 6, 2011 3:06 pm
Hello, The feature {EV_RICH_TEXT}.set_with_named_file (a_filename: FILE_NAME) fills a rich text widget with the content of an rtf file whose name is ...
18584
rfo@...
roger.osmond
Jul 6, 2011 3:44 pm
Hi Paul It's been a while, but I'm pretty sure you can simply use the set_text feature. If that's not working the way you wish (perhaps it's not rtf-smart), ...
18585
Emmanuel Stapf [ES]
manus_eiffel
Jul 6, 2011 7:18 pm
... Via the web_browser library included in EiffelStudio we get this ability. Manu...
18586
rfo@...
roger.osmond
Jul 6, 2011 10:59 pm
Hi Manu! This is good news indeed! Last time I checked, the example would not compile (might have been 6.6 or even earlier). It works nicely for HTML+CSS (on...
18587
David Jenkins
djenkins99a
Jul 9, 2011 2:05 pm
The scope of a local entity in a check instruction is limited to the check instruction itself. So in an_attribute: detachable A ....... check attached...
18588
Alexander Kogtenkov
kogtenkov
Jul 9, 2011 2:42 pm
Dear David, The issue with this kind of check instructions is that they can be turned off in the execution environment by user request. In other words the...
18589
David Le Bansais
dlebansais
Jul 9, 2011 2:43 pm
... One of the benefits of not extending the scope is that it allows the name to be reused. Also, with an extended scope, one could question the decision of...
18590
David Jenkins
djenkins99a
Jul 9, 2011 5:40 pm
Hi Alexander, Thanks for reminding me that there are not only 2 check instructions, but that 1 (conditional) can be turned off while the other (with the "then"...
18591
Alexander Kogtenkov
kogtenkov
Jul 9, 2011 5:57 pm
Hi David, I'd say there is not special syntax for stable attributes, only a convention that is supported starting from EiffelStudio 6.4. There is no new...
18592
Paul Cohen
pacoispaco
Jul 10, 2011 11:12 am
Hi, Has anyone implemented map & reduce functions in Eiffel? My first approach was: reduce (f: FUNCTION [ANY, TUPLE [ANY, ANY], ANY]; a: ARRAY [ANY]): ANY --...
18593
Eric Bezault
gobosoft
Jul 10, 2011 1:25 pm
... Ideally these functions should be part of class ARRAY, next to `do_all' and friends: reduce (f: FUNCTION [ANY, TUPLE [G, G], G]): G map (f: FUNCTION [ANY,...
18594
Paul Cohen
pacoispaco
Jul 11, 2011 10:29 am
Hi, ... Thanks Eric. Very nice! However do the map/reduce functions belong to the class ARRAY? One very important objective of a map/reduce implementation...
18595
andersoxie
Jul 17, 2011 9:09 am
Hi I have also run into the 'print39; problem described below. Since this seems to be a general problem maybe you can post an implementation of the work-around. ...
18596
Gerrit
gerrit_leder
Jul 17, 2011 5:42 pm
Hello Anders, this is my code: print_computed_result (a_g: separate GRID) local l: INTEGER temp2: STRING do io.put_string ("%Na_g.losses: ") io.put_integer...
18597
Gerrit
gerrit_leder
Jul 18, 2011 9:31 am
For the Threads and SCOOP, I can only say that there are limitations described here: http://docs.eiffel.com/book/solutions/scoop-implementation These will be...
18598
Hal Webre
halwebre
Jul 20, 2011 10:14 am
Hi, Here is one way, although there may be more succinct solutions. This requires Provisional Syntax to be set in Project Settings. Assuming you have: ...
18599
finnianr
Jul 22, 2011 12:18 pm
Hi all I am trying to port my Eiffel interface to the VTD-XML parser and xpath navigator to work on the Windows platform. But I am running into some C syntax...
18600
Emmanuel Stapf [ES]
manus_eiffel
Jul 22, 2011 3:36 pm
... Usually when something like that happens, there is a mismatch/conflict in some C header files that are used to compile the C code. The best thing to do to...
18601
finnianr
Jul 23, 2011 12:28 pm
... Thanks Manu that helped. For anyone who has had similar problems here are the steps I would have taken with hindsight. Only after following some hunches...
18602
Paul Cohen
pacoispaco
Jul 24, 2011 10:39 am
Hi, I have two questions regarding shared libraries. 1. Is there any way to easily decide in Eiffel (or C) if a specific piece of code has been loaded as part...
18603
finnianr
Jul 24, 2011 11:59 am
I have been porting a library of routines for directory and file management to the Windows platform but I have run into a problem. This is because of an...
18604
明
larryliuming
Jul 25, 2011 1:12 am
Hi, Paul£¬ `API loader' library can load DLLs on Windows (or .so files on Linux). Maybe this library is the one you are looking for? Here are snippets: ...
18605
Emmanuel Stapf [ES]
manus_eiffel
Jul 25, 2011 3:32 pm
... The query `is_valid' is actually not checking anything and will always return True. The idea was that eventually it would check the intrinsic validity of...
18606
finnianr
Jul 27, 2011 3:03 pm
I think we should consider that {DIRECTORY_NAME}.extend has a bug as well because if it has the value "c:\" and we extend the path with: dir.extend...