We urge customers to take advantage of numerous fixes
Join us down under at SPC Sydney on December 13-14
Read why Chicago and Oxford SPC 2011 attendees think the conference is not-to-be-missed
Earlier this year in Chicago and Oxford, Synergy developers convened at the annual Synergex Success Partner Conference, where they learned how to use new features in Synergy/DE to extend their applications and increase their productivity. Now the SPC is coming to Sydney on December 13-14, and it promises to deliver the same valuable education through comprehensive sessions, extensive hands-on tutorials, and numerous opportunities to network with other Synergy developers.
Chicago and Oxford attendees had rave reviews. Read why they think this conference is not to be missed.
Get details about the conference at spc.synergex.com.
Reminder: Please make your hotel reservations before November 1 in order to get the group rate.
Getting an ActiveX list in UI Toolkit composite window to load completely
Question:
I'm using an ActiveX list in a UI Toolkit composite window. When I scroll down the list, I don't see the entire list; I just see what was already displayed. However, if I click on the list, the rest of the items are loaded. Is there a way to have the entire list load without having to click into it?
Answer:
When an ActiveX list is displayed but not activated for input (in a composite window, for example) and the list has not been fully loaded, scrolling displays only previously loaded items. It does not load new items. If you click the list, however, it becomes active and loads normally. This is a result of the way containers work in Windows.
You can work around this by calling L_PROCESS with D_LBOTTOM and D_LTOP requests to preload the entire list. Beware, however, that this could take quite a bit of time if the list is large.
Free code for Synergy developers
Get information on calls from and to a routine
Have you ever wanted a list of routines called by a given routine (maybe a main routine)? How about a list of subroutines and functions that call the routine? With the SourceTree program, available in CodeExchange, you can get this information. Once you've built SourceTree, you can run it from the command line or as a console application on Windows, UNIX, or OpenVMS and use it to generate information for main routines, subroutines, and functions. (It doesn't support class methods.) You start by running SourceTree in generate mode to extract information from compilable Synergy source code. It extracts information from source files in a single directory, but you can run it multiple times in generate mode to accumulate information from files in multiple directories. Once you've gathered information for all source files for your application, you can use other SourceTree options to generate text files that list called or calling routines. For more information, see CodeExchange. CodeExchange is available for free in the Synergy/DE Resource Center to supported Synergy/DE customers. Be sure to take advantage of this great resource, and don't forget to submit your own CodeExchange entries so that other Synergy developers can benefit from your cool code.
Synergy/DE pros, see if you can answer this question!
What is the output of the following program?
main
record all
first ,a2, 'aa'
rest ,a2, 'bb'
proc
open(1,o,"TT:")
xcall fill_it(first, ^size(all))
writes(1,all)
end
subroutine fill_it
out req what ,a
in req len ,n
proc
xcall fill('x', what(1:len))
xreturn
end
a. 'xxxx'
b. 'aabb'
c. 'xxbb'
d. A subscript error
e. It depends on the compilation
Click to find the answer
|