Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

ColinRule

About

Username
ColinRule
Joined
Visits
201
Last Active
Roles
Member

Comments

  • Thanks. I now see the subtle differences in the documentation between AddItem and InsertItem methods. Things are complex with what I am trying to achieve, so I am now changing this to a locate/insert into the full tree and repopulate the tree, so th…
  • Don, I would be more than happy to be shown to have made a mistake. I can imagine the number of times this could happen, as the situations are complex, and I am just getting a handle on the drag/drop functionality. I tried level 8, and it made no…
  • Thanks Kevin. All items are selectable, so I don't think that is related. I have tried a few more things, which might help. When I right-click the first time it returns the correct key as per the right-click position. If I just do another right-cl…
  • Thanks I have implemented individual Get properties, and this works fine. Colin
  • I tried a Get Property Ex=Get_Property(ProcessCtrl,"OLE.ItemExpanded[All]")This just returns a single value (1), rather than a structure of all expanded properties. I expect if I parse the entire tree for each key this will return what I need, altho…
  • Don, The format of the tree I would need to have for this facility is highly complex. I will send an example PDF by Email. Actually it is more like multiple items at each level, associated with its children. I dont expect it will be able to handl…
  • I tried the Word Wrap property (with item height) and the CHAR(13):CHAR(10), and this correctly deals with the line feeds to create multiple line text. This still however wont resolve my requirement, as I need to be able to have the item and check …
  • The HTML emabled property caused OI to crash when the tree was being populated. It might be that the tree item had some peculiar text which is not dealt with by the HTML, but possibly that the 28k lines is too much for it to handle. In any case I p…
  • Sure can, I will Email the code, and a file to use.
  • Thanks Don That will be fine. I will test once we have the new version and advise, and close-out this thread. Colin
  • Hi SRP Any news on a resolution to this topic? Colin
  • Don Good it is possible to replicate. I am using the separate controls as far as I know. Colin
  • Don, close but not quite: - Items are added to the tree control, the complete structure - A button update the table (but not really relevant, just the reasoning behing the function - A tree control item is changed to grey. - The tree is rebuilt, ie…
  • When an Add button is clicked, the relevant tree item is added to my table to the right of the tree control. The item in the tree is they set to Grey so that the item implies it is already used. Then a subsequent build of the tree, which reinstates …
  • Kevin Seems good so far, thanks. FYI it also resolved another bug I was about to raise whereby shift-clicking to select, and control-click did not work first time for items which did not fit.
  • Kevin This fails, with an OI crash as soon as you move the mouse over a tree item. The item has a white box over the text, then crash. Have reinstated previous version.
  • Any more news on when the multi-line tooltip might become available? Colin
  • Thanks, I follow now. I can understand that mouse moves etc would not gain focus, but Click might. But, having said that I accept it is far better not to have the buttons gain focus. For instance if your toolbar has Bold/Underline/Italics etc, then …
  • The style is used defined, so can change, but not relevant. The issue is NOT with the SRP button control losing focus, I accept that this event is under control of the OLE and therefore me. The issue is the LostFocus event not being triggered by a…
  • I have now changed my code to deal with this on the Resize, and all is OK. I will report to Revelation, although I am on OI8, so OI9 may have resolved already.
  • Sorry about the confusion there. I tried an OLE control, not SRP, and a standard button control, and both show the same resize behaviour. I wrongly assumed it was an SRP issue, as my previous toolbar code using OI buttons did not show this, but ther…
  • Thanks Kevin The EMF is interesting, I will need to check that out. Problem is that users will have all sorts of imagfe formats, but I note there are free converters about the place which would assist in this. Then the original image wont be affect…
  • I have a form which I use for Cut and Fill. This calculates the earthworks which is to be removed from site (cut) or imported (fill), or balanced (moved from cut to fill). This is done by defining ground level points, and depths, and with clever ma…
  • Kevin It is good that you could reproduce. I have installed the revised version, and this now works OK on OI 9 and also OI 8. Colin
  • Tried it and it does the same, hangs.
  • We have been investigating further, with clients who are experiencing this issue. It sedems to be some process running on the Dell Vostro workstations. We are stopping one process at a time to try and identify the culprit. WebcamDell2.exe *32 This …
  • Kevin, I cant really send a copy of the applicaiton, both due to the size, and the copyright. I will see what I can do about making a small setup of this. Colin
  • Code below: CREATE EVENT Array="" Array<2,1>="BMPS\Shortcuts.bmp" Array<2,2>=86 Qualifier=1:@FM:"2*ICEPAC*OLE*":OLE_SHORTCUTS Call Send_Message(OLE_SHORTCUTS,"QUALIFY_EVENT","ALL_OLES",Qualifier) CALL Set_Property(OLE_SHORTCUTS,"…
  • It may be Anti Virus software, I will check. I attach the screen shot of the message, in case it is of use. This however does show that the control populates correctly, so perhaps it is not a loading in to memory issue, as it is there. The crash is …
  • Thanks, other topic raised is included in this then.