|
|
Color in Text Box
|
Discussion Forum
|
0 |
Jun 27 2008, 2:06 AM EDT by
|
|
|
Thread started: Jun 27 2008, 2:06 AM EDT
Watch
Is it possible to change the colors of individual lines of text in a Text Box. The purpose is to run side by side text boxes highlighting direrences (compare) in source code. Colorising individual cells in an edit table seems a lot of trouble...
Thanks
out of
found this valuable.
Do you find this valuable?
Keyword tags: None
|
|
|
Screen appearance
|
Operating AREV32
|
0 |
Jun 23 2008, 9:48 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:48 AM EDT
Watch
The appearance of the Arev32 window was a disappointment to many users. The characters were deemed indistinct, even after adjustment for best appearance.
The default font used appears to be Courier New. This can be changed, see CTO configuration records and layout.
You can experiment with various monospaced fonts like: Courier New, default, resizes XP Fixedsys, does not resize XP Lucida Console, best appearance XP Consolas ugly from Microsoft Vera Sans Mono worse than Lucida Console from Bitstream
out of
found this valuable.
Do you find this valuable?
|
|
dharmacek |
Bugs and workarounds version 8.0.6
|
Operating AREV32
|
1 |
Jun 23 2008, 9:43 AM EDT by
dharmacek |
|
|
Thread started: Jun 23 2008, 9:39 AM EDT
Watch
VIDCTRL appears when AREV32_...FORM is closed - Upon closing Arev32 an error message stating that $vidctrl was not found. Then the program closes properly. This was an assembler program called by Arev during closing. (patch available)
Resizing the Arev32 form
This window can be resized like any Windows window by grabbing the lower right corner with the mouse and resizing it. You will notice that it automatically changes which font is used. A ratio can be chosen that looks good (and bad). Noticed that the menu character (a solid triangle/arrow) changes to a circle in some ratios.
ENVIRONMENT records not named for user don't work
In Arev for DOS you could have an environment, like MGMT. Then, in the User (e.g. USER1) setup window (in SYSPROG) you could specify that a user's environment was MGMT. Then Arev would ignore the USER1_ENVIRONMENT row and use the MGMT_ENVIRONMENT as USER1 logged in. I have found that Arev32 allows you to specify a different environment row, but actually uses the one with the name of the user. (Bug Tracker issue 1001, fix sked 9.0)
LIST - If the option is not at the end of the command line, the option character causes an error: e.g. LIST CUSTOMERS (T) BY STATE returns an error about T not found (Bug Tracker issue 1006, patch available, fix sked for v9.0)
out of
found this valuable.
Do you find this valuable?
|
|
|
DEBUGGER
|
Operating AREV32
|
0 |
Jun 23 2008, 9:41 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:41 AM EDT
Watch
* There is a place to specify you want to retain the precompiled code in the Database Manager / Environment Settings / AREV32 Settings.
* If you place a DEBUG statement in SOURCE, it reports the line number in OI_PRECOMPILED_CODE, which is different from your SOURCE if you have any $INSERT records.
* There appears to be a new symbolic row with a @ prefix.
out of
found this valuable.
Do you find this valuable?
|
|
|
Careful
|
Operating AREV32
|
0 |
Jun 23 2008, 9:40 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:40 AM EDT
Watch
Be careful when holding down a key. It will repeat many, many, many more times than in the ArevDOS version!
Occasionally you will have to re-touch a key to get it recognized.
out of
found this valuable.
Do you find this valuable?
|
|
dharmacek |
CTO Configuration records and layout
|
Operating AREV32
|
1 |
Jun 23 2008, 9:35 AM EDT by
dharmacek |
|
|
Thread started: Jun 23 2008, 9:32 AM EDT
Watch
CTO has a configuration record named CTO in SYSENV.
The above can be overwritten by a configuration record named CTO in the table MD of the application.
The above can be overwritten by a configuration record named CTO*<username) in the table MD of the application.
Layout is all the same:
out of
found this valuable.
Do you find this valuable?
Show Last Reply
 |
Last Reply:
RE: CTO Configuration records and layout
By: dharmacek,
Jun 23 2008, 9:35 AM EDT
Configuration record layout
Field# Description /Comments 1 IP Address of engineserver, or path to revcap32.dll . for local engine 2 Port number 8088 default 3 foreground color name 4 background color name 5 title of Arev32 frame 6 routine to run 7 font name defaults to Courier New
out of
found this valuable.
Do you find this valuable?
|
|
|
|
Which CTO form to use
|
Operating AREV32
|
0 |
Jun 23 2008, 9:30 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:30 AM EDT
Watch
Two OI/CTO forms are provided:
AREV32_STANDALONE_FORM
This form appears separately from the OI windows. It can be moved and sized outside of OI.
AREV32_CHILD_FORM
This form is a MDI Child and appears within the MDI Frame.
Can we use the Arev32 as a tab page in OI? We will continue to have a hybrid system, some in OI 8 and some in Arev32. I have found the CHILD_FORM for use in MDI.
per RevSoft: "You can not open it in a tab control but you can maneuver the window to act like it is. Click the tab and make it visible and size it to fit with the table."
PM decided to use only the STANDALONE_FORM and have OpenInsight running as well.
(version 8.0.6)
out of
found this valuable.
Do you find this valuable?
|
|
|
Programs that must be copied to OI before the conversion
|
Converting to AREV32
|
0 |
Jun 23 2008, 9:19 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:19 AM EDT
Watch
You must copy any custom MFS and User-Defined Conversion programs to OpenInsight and successfully compile them in OI.
You will not need the ArevDOS version of those programs.
(if anyone need a do-nothing of PX_MFS please contact me)
out of
found this valuable.
Do you find this valuable?
|
|
|
When you Copy the data tables it will recompile the dictionaries
|
Converting to AREV32
|
0 |
Jun 23 2008, 9:15 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:15 AM EDT
Watch
1) It places CTODICT.MFS on the new dictionary tables. This is not a MFS known to Arev of DOS and you can no longer use those tables in Arev of DOS. According to RevSoft this MFS provides the required underscored column names as required by OI.
2) During conversion wizard, when the Rebuild Dictionaries option fails on a Formula it places only "* Bypass Conversion error@ans = 'Arev32 Conversion Error - Can not compile'" in the Formula.
The original formula that failed is nowhere to be found.
I believe it should also contain the (commented out) original formula so we can repair this in Arev32.
This is in the Bug Tracker as issue 1001. To be fixed in OI 9.0.
out of
found this valuable.
Do you find this valuable?
|
|
|
Existing conditions that cause problems with conversion
|
Converting to AREV32
|
0 |
Jun 23 2008, 9:12 AM EDT by
|
|
|
Thread started: Jun 23 2008, 9:12 AM EDT
Watch
* SYSINCLUDE had user-defined rows that were referenced in programs and dictionaries. * HELP was used as a repository of setup data. * OBJECT had user-defined dictionary equates that were referenced in programs and dictionaries. * VOC dictionary had custom items * VOC had many custom items * Menus: All had the value of the Application in field 2 of the menu record. Had to be removed in order to run it.
out of
found this valuable.
Do you find this valuable?
|
|
|
Basic + Select vs RList
|
Discussion Forum
|
4 |
Jun 16 2008, 10:37 AM EDT by
|
|
|
Thread started: May 30 2008, 1:44 AM EDT
Watch
Comming from a general RevG and Pick background, I would use code like:
Open "DICT.":fname To DICT_TABLE Then SET_STATUS(0) Select DICT_TABLE ERROR = Get_Status(DDD) If ERROR THEN DEBUG If @Reccount THEN FRED = 'is happy' End End
The code above would never set FRED to 'is happy' unless I replace it with RList like below:
Open "DICT.":fname To DICT_TABLE Then SET_STATUS(0) Rlist('SELECT DICT.':fname,5,'','','') ERROR = Get_Status(DDD) If ERROR THEN DEBUG If @Reccount THEN FRED = 'is happy' End End
Once I have executed code containing Rlist, the Select statement in the 1st bit of code works as expected. Any ideas why it would not work before Rlist is executed?
Thanks
out of
found this valuable.
Do you find this valuable?
Show Last Reply
|
|
Last Reply:
RE: Basic + Select vs RList
By: ,
Jun 16 2008, 10:37 AM EDT
The RLIST select creates a list stored in the SYSLISTS table. This can be used against any file, technically, as long as the keys are valid. The RBasic "select" statement, as explained elsewhere, does not -- it just sets a record pointer.
out of
found this valuable.
Do you find this valuable?
|
|
|
|
Printing
|
OLE Word Merge
|
4 |
May 29 2008, 12:36 AM EDT by
|
|
|
Thread started: Mar 12 2008, 4:44 AM EDT
Watch
The byVal_print_flag= True$ option does not work for me. Does this work for you. If not can it be fixed. I tried changing some of these to True$, but to no avail.
x = oMergeOut->PrintOut( False$) x = oMergeOut->Close( False$) x = oWrd->Quit(False$)
out of
found this valuable.
Do you find this valuable?
Show Last Reply
|
|
Last Reply:
RE: Printing
By: ,
May 29 2008, 12:36 AM EDT
"The byVal_print_flag= True$ option does not work for me. Does this work for you. If not can it be fixed. I tried changing some of these to True$, but to no avail.
x = oMergeOut->PrintOut( False$) x = oMergeOut->Close( False$) x = oWrd->Quit(False$)" Got this to work... If print_flag then x = oMergeOut->PrintOut( False$) x = oMergeOut->Close( False$) DefPrinter = oleGetProperty(oWrd, 'ActivePrinter') OlePutProperty(oWrd, 'ActivePrinter', '\\**myserver**\**myque**') Res = OleCallMethod(oWrd, 'PRINTOUT', 1) OlePutProperty(oWrd, 'ActivePrinter', DefPrinter) Sleep(2) Quit = OleCallMethod(oWrd,'QUIT',0) oDoc = '' end else oWrd->Visible = true$ end Problem was that the merge doc would not close while printing, so added a 0 to the end. Quit = OleCallMethod(oWrd,'QUIT',0) This closed the document, but also stopped the printing. So I added a sleep in there... ugly, yes but it works ;)
1
out of
1 found this valuable.
Do you find this valuable?
Do you?
|
|
|
|
Runtime Error Occur on this rgd_pushbutton_menu_example v100.BAS
|
RGD Pushbutton Menu
|
0 |
May 26 2008, 9:39 AM EDT by
|
|
|
Thread started: May 26 2008, 9:39 AM EDT
Watch
Great job zapher67! Thanks a lot for sharing But I found Runtime Error Occur on this rgd_pushbutton_menu_example v100.BAS
line 38
While Ids<1,I> <> "" Do
Variable has not been assign a value. What is actually Ids?
out of
found this valuable.
Do you find this valuable?
|
|
|
Setting minimum resize on a form
|
OpenInsight Community Source Code
|
0 |
May 5 2008, 7:55 PM EDT by
|
|
|
Thread started: May 5 2008, 7:55 PM EDT
Watch
Do you have screens which require resize but control overlap causes display problems when the screen is made small? This generally applies to multi-page or tab folder screens. This is a simple and no-code solution which you might be interested in.
Add a control, eg a button called RESIZE_LIMIT to the form. Place it at the bottom right of the form, and set autosize Height and Width ON. Position the top left corner of the control to the position you want to have as the minimum size of the form. Make the control invisible.
When you run the form it wont allow the control to resize below zero and therefore stops at that point.
Colin
out of
found this valuable.
Do you find this valuable?
|
|
|
Example3 in Configuring OECGI2
|
Discussion Forum
|
0 |
Mar 19 2008, 12:54 PM EDT by
|
|
|
Thread started: Mar 19 2008, 12:54 PM EDT
Watch
It appears that the example uses javascript to load the form. The only issue is that thoughout the js there is reference to cgi-bin (also in html). I setup a test server with Windows 2003 and there is no cgi-bin folder. Not sure why there is a difference but it makes it a pain when trying to work with examples. My cgi bin folder was located under c:\windows\system32\inetsrv although it would still not execute oecgi2.exe until I moved it to the Virtual folder "test_examples".
Do I have something setup wrong or have I missed something? Thanks, John
out of
found this valuable.
Do you find this valuable?
Keyword tags: None
|
|
|
upload a file to OpenInsight using OECGI2.EXE
|
Configuring OECGI2
|
1 |
Mar 18 2008, 5:27 PM EDT by
|
|
|
Thread started: Mar 13 2008, 9:04 AM EDT
Watch
I've been using this feature for a few weeks. See pages 7 to 14 of the whitepaper OECGI2.pdf.
I have found the system-generated names that are automatically returned in the Request variable to be different from that whitepaper, as follows: UPLOAD_NAME UPLOAD_NAME.LENGTH UPLOAD_NAME.FILENAME UPLOAD_NAME.CONTENTTYPE
The paper showed "myfilename".
Used OI 8.03
Dave
out of
found this valuable.
Do you find this valuable?
|
|
|
Window position
|
Discussion Forum
|
2 |
Mar 10 2008, 12:34 AM EDT by
|
|
|
Thread started: Mar 9 2008, 5:29 PM EDT
Watch
Can someone explain what a window, popup and message x,y coordinates are relative too? It seems they vary depending on type (window, popup or message) and if there is an MDI Frame active. I can't seems to breed consistency in locating a window or popup relative to an edit line control.
out of
found this valuable.
Do you find this valuable?
Show Last Reply
|
|
Last Reply:
RE: Window position
By: ,
Mar 10 2008, 12:34 AM EDT
Barry,
Handle=get_property(Ctrl,"HANDLE") Rect = str(\00\, 16) * get x,y+h of control GetWindowRect(Handle, Rect) xDlg = seq(Rect [1,1]) + (seq(Rect [2,1]) * 256) + 3 yDlg = seq(Rect [13,1]) + (seq(Rect [14,1]) * 256) + 3
Thanks for the code. However, if I use your above code to establish X,Y for a window it works fine, but if I use your code to send x, y to a popup the position seems to be offset by the relative position of the parent window to the corner of the screen. So, it seems that the Popup routine uses a different method of establishing position on the screen than does a window using the SIZE property. This is what is confusing me...the relative nature of positioning. What am I missing here?
Thanks, Rod
out of
found this valuable.
Do you find this valuable?
|
|
|
|
OLE Excel Subtotal
|
OLE Automation
|
0 |
Feb 20 2008, 12:18 PM EST by
|
|
|
Thread started: Feb 20 2008, 12:18 PM EST
Watch
Exports data to Excel and then subtotals. Uses embeded vbscript to perform subtoal. Also uses GetObject to check if there is an existing Excel instance
2
out of
2 found this valuable.
Do you find this valuable?
Do you?
|
|
|
OLE Adobe PDF - FDF
|
OLE Automation
|
0 |
Feb 19 2008, 5:55 PM EST by
|
|
|
Thread started: Feb 19 2008, 5:55 PM EST
Watch
Create PDF forms via Adobe' s FDF form populator.
out of
found this valuable.
Do you find this valuable?
|
|
|
compatibility above v7.0
|
StartMdichild
|
1 |
Feb 12 2008, 4:33 PM EST by
|
|
|
Thread started: Feb 11 2008, 6:32 PM EST
Watch
G'day Barry,
Thanks for the post. Does this work Ok in versions higher than 7.0?
Dave G
out of
found this valuable.
Do you find this valuable?
|