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 SkipVought 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. PowerObject

    Retaining DisplayCoulm value of dddw which is multiply used in a single datawindow

    It's not that complicated :) Simply duplicate the DDDW inside the DW which will give it a name - do NOT change the name. They both represent the same column and any change in one of them will reflect in the other one. While the first DDDW will be used for editing and filtering available...
  2. PowerObject

    Hover/Flat/Hyperlink/Picture Button object

    http://groups.yahoo.com/group/PowerObject/message/15877 --- PowerObject!
  3. PowerObject

    Response window

    The fool-proof and sure-fire way to get the classname of the parentwindow is to pass the name/classname of the window that opened the response window - using OpenWithParm(). If you are already passing a string argument to the response for another purpose, you could use a structure to pass...
  4. PowerObject

    How to highlight a Group Header Band???

    The only columns we can set focus on are the ones in the Detail band. --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject PowerBuilder / PFC Developers' Group
  5. PowerObject

    Child window

    Child windows cannot have ActiveTitleBar color. They always have the InactiveTitlebar color. If you cannot use a Popup style window, you will have to create your own user-object simulating a window. --- PowerObject! -----------------------------------------...
  6. PowerObject

    Editmask Control

    Try declaring a user event and mapping it to: . PBM_EnChange . PBM_EnModified . PBM_EnUpdate and scripting the event appropriately. If none of the above event mappings work with EditMask, the only alternative would be to use the Other! event. --- PowerObject...
  7. PowerObject

    Tabbing between datawindows

    You may like to tab to dw_2 when the user presses the Tab key from the last column on the last row of dw_1. Simply declare a user event ue_KeyDown and map it to PBM_DWNKey on dw_1 and script it as under: IF key = KeyTab! THEN // IF GetRow() = RowCount() THEN // IF...
  8. PowerObject

    Strange Date Validation Problems in PB 9.0.1 Enterprise

    Try increasing the width of the column. --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject PowerBuilder / PFC Developers' Group
  9. PowerObject

    Computed objects/psr

    PSR reports are the ultimate in preserving the dw's formatting! Some computed fields may lose their values and others may have their values re-evaluated. For instance, a computed field with an expression of Today() will NOT save the date the PSR was saved in the report. It would still display...
  10. PowerObject

    Menu Name

    If you are trying to get a reference to the menu object for the window, use MenuID property of the window: m_mymenu lm_Menu // lm_Menu = w_mywindow.MenuID lm_Menu.m_File.m_New.Enabled = ... --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject...
  11. PowerObject

    BLOB/Driver Question ????

    Switching the driver is not possible as this has to be done before the connection. You may instead use two transaction objects to make two connections and switch the transaction object doing dw.SetTransObject(). --- PowerObject! -----------------------------------------...
  12. PowerObject

    psr help ??

    It's not possible to save an entire/multi-page PSR to a graphic file using code. I thought you might have done a screenshot (Alt+PrintScreen) on a one-page report. --- PowerObject!
  13. PowerObject

    PB7 - Why doesnt setFilter work twice in a row?

    Maybe, re-using the var is causing some trouble. Try declaring two dataWindowChild's: dataWindowChild dwChild1, dwChild2 // dw_detail.getchild("DDW_1",dwchild1) dwchild1.setfilter("isnull(end_date)") dwchild1.filter() dw_detail.getchild("DDW_2",dwchild2)...
  14. PowerObject

    psr help ??

    Have you inserted the PSR file itself into the dB or just an image of the PSR? If it is the PSR file itself, all you have to do is to assign the written-file to the dw (after you read it from the dB and successfully write to a temp file): dw.DataObject = "C:\Documents and...
  15. PowerObject

    psr help ??

    Var is a shortform for variable. Typically, you would use the SELECTBLOB SQL statement to retrieve the file in a blob variable (the opposite way of how you inserted the PSR into the dB). See Help on low-level file functions such as FileRead(), FileWrite()... and the 'Examples' in them on how to...
  16. PowerObject

    PB7 - how to disable toolbar buttons at runtime

    Toolbar button Enabled property is referenced through the Menu item. If you want to disable the Open toolbar button, you would code: m_master lm_Menu // lm_Menu = This.MenuID lm_Menu.m_File.m_Open.Enabled = FALSE However, for Visible property, you need to set the value for both - Menu item...
  17. PowerObject

    psr help ??

    If you want to view the PSR files that you 'saved' into the dB, you will have to retrieve the blob into a var, save it to a temporary PSR-file on the hard-disk and assign this temporary file with its full path to the dw.DataObject to view it at runtime. --- PowerObject...
  18. PowerObject

    PFC - Lost in space

    You would do well to read the PFC Users Guide: http://sybooks.sybase.com/pb.html http://download.sybase.com/pdfdocs/pbg0900e/pfcug.pdf --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject PowerBuilder / PFC Developers' Group
  19. PowerObject

    Column Adjustment

    If you are using the graphic layout in dw's SQL painter, all you have to do is unselect the column and re-select it from the table box. --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject PowerBuilder / PFC Developers' Group
  20. PowerObject

    What is the diff. between .PBD & .DLL

    Compiling to PBDs is more reliable than DLLs because the compiler places/pulls all the objects from the PBL such as DataWindows, Pipelines, windows, user-objects... even if they are dynamically referenced. Although you can pull the dynamically referenced objects such as DataWindows using PBR...

Part and Inventory Search

Back
Top