Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. thekl0wn

    Disable DataWindow, but allow to scroll

    If you don't want to explicitly spell out each column, you could loop through all and set their tab order through a modify like Matt suggested. Something like: Long ll_COL FOR ll_COL = 1 TO Long( dw_REF.Object.DataWindow.Column.Count ) dw_REF.Modify( "#" + String( ll_COL ) + ".TabOrder='0'"...
  2. thekl0wn

    Charlotte Conference

    Sounds great! From what I can tell, it looks incredibly useful and informative. Any advice on hotels?
  3. thekl0wn

    Charlotte Conference

    Is anyone here going to the conference in Charlotte? As of now, myself and a fellow programmer are going. Just curious if I get to be in-awe, in-person of any of the members from the forums.
  4. thekl0wn

    Powerbuilder Excel chart problem accessing ole control to excel using datawindow

    As a quick test, try changing to .value='2000'.
  5. thekl0wn

    popup window - hidden menu object

    In your popup window, look at the "key" event. You could trap it there with something like IF KEY = KeyF1! THEN....
  6. thekl0wn

    how can I scroll the datawindow to that column?

    What mbalent said. Mine would throw a datatype mismatch error.
  7. thekl0wn

    how can I scroll the datawindow to that column?

    Off the top of my head... In the event/function calling the SetColumn( ), you'll also need some describe/modify calls to the DW. li_MyX = dw.Describe( "MyColumnName.X" ) dw.Modify( "DataWindow.HorizontalScrollPosition = " + String( ll_MyX ) )
  8. thekl0wn

    powerbuilder classic to google calendar

    This might get you started down the path. Looks like there is a link option: http://stackoverflow.com/questions/10488831/link-to-add-to-google-calendar
  9. thekl0wn

    PowerBuilder 11.2 Build 9097 - treeview datawindow

    1.) I've always cheated and used rectangles or something of that nature and manipulated their visible status. 2.) Seems every time I go to use a TV-DW, I try this... So far, it's never worked.
  10. thekl0wn

    help! create scoll text in powerbuilder 7

    As far as I know, there are no out-of-the box options for this. I've played around with this using a string stored as an instance variable which is set to the full text you want to scroll, a timer event, and then using the Mid( ) function to display a substring of the instance variable. It...
  11. thekl0wn

    Is there a way to get DW retrieval arg values?

    There may be a simpler way, but I'm not coming up with it off the top of my head... Can you add a computed field to the detail with the value of arg_min/arg_max and then GetItemNumber( ll_row, 'computed_field_name' ) them?
  12. thekl0wn

    Power Builder 7 issues

    I agree with Matt... More detail is needed, especially if there's an error. The first thing I always check is what is checked to compile as a PBD versus EXE. If the main library does not have the PBD box checked, then it will not create a PBD file for it... So if there's any objects in that...
  13. thekl0wn

    Saveas HTMLTable and formatting - PB 11.5

    Don't take this as the definitive answer, but I have never seen a direct export which had any visual effect. However, what I've done in the past is used OLE control of the exported .xls(x) file to format it and make it pretty.
  14. thekl0wn

    Passing a structure array

    Have you tried wrapping your structure array inside another structure? You could include a success variable at that level, along with your structure array. Sadly, I've not tried passing arrays in more modern versions of PB, but in earlier versions they did not work... So that's when we...
  15. thekl0wn

    web service on powerbuilder 10.5

    Don't take this as a definitive answer, but we never had any success consuming web services in PB10.5. We migrated to 12.0, and have zero issues with this now. Keep in mind, we were consuming SAP web services, and not creating them.
  16. thekl0wn

    User search function

    It would require a custom function. You would need to loop through the objects in the DataWindow, and then review their text/values based on the object type. To get the objects in a DataWindow, use something like ls_YourVariable = dw_YourDW.Object.DataWindow.Objects This will give you a...
  17. thekl0wn

    Where's everybody?

    I stop by a few times a week. However, for the most part, the questions being asked anymore are way out of my wheelhouse and often issues with newer versions than we're running at work.
  18. thekl0wn

    OLE object in datawindow - error accessing external object property

    Have you tried using the .Object for the OLE object itself? For instance, using your example, it would look like: w_datawindow_drawing.dw_1.Object.ole_1.Object.LinkTo( pdf_link )
  19. thekl0wn

    compute field + column values concatenation

    How are you retrieving the data? If it's via a SQL statement (or stored procedure), then you can use the COALESCE( ) function to build your concatenated string in a nice, clean, and fast way.
  20. thekl0wn

    Calling PL/SQL functions with PowerBuilder 12

    As Miguel stated, you will need to use the ansi keyword in the function declaration when passing a string. From the PB 10.5 help file for external functions: "ansi - Required if the function passes a string as an argument or returns a string that uses ANSI encoding. Even if you use the default...

Part and Inventory Search

Back
Top