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 strongm 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: *

  • Users: leyka
  • Order by date
  1. leyka

    Need to change the picture name (filename) dynamically in datawindow..

    Why can't you link resources staticly in your exe (dll)? I can't find it out from your explanation. ---------- gruss aus Deutschland
  2. leyka

    Need to change the picture name (filename) dynamically in datawindow..

    Simply make "pbr"-resaurce file to link this windows logo staticly in your executable 1. Add this to your project pbr-file: c:\Windows\logo.bmp 2. Set right this file name in all dw-oject picture controls c:\Windows\logo.bmp ---------- gruss aus Deutschland
  3. leyka

    how to get OUtPUT value from stored procedure.

    Try this: http://sybooks.sybase.com/onlinebooks/group-pb/pbg0900e/apptech/@Generic__BookTextView/12059;pt=12644;lang=de ---------- gruss aus Deutschland
  4. leyka

    DDE Problems

    Can you show the code for: 1. null-object declaration 2. Place, there you call responsewindow 3. DDE call in response window 4. "null object" initialisation 5. "null object"-isvalid test 6. place, there system error "null object references" occures ---------- gruss aus Deutschland
  5. leyka

    showing a picture in a datawindow

    This is very strange... Do you use a DB-Select as datasource? Can you show it? ---------- gruss aus Deutschland
  6. leyka

    showing a picture in a datawindow

    check the data type of source column for "picture_name" in Dataobject definition In your case this should be of string type ---------- gruss aus Deutschland
  7. leyka

    working with 2 databases

    Example The following statements use the default Transaction object (SQLCA) to communicate with a Adaptive Server Anywhere database and a nondefault Transaction object named ASETrans to communicate with an Adaptive Server Enterprise database: // Set the default Transaction object properties...
  8. leyka

    Multiline text on a command button

    1. Import in your PBL my visual userobject "u_textbtn" 2. Put the u_textbtn on the window 3. Write this code in window open event: uo_1.is_Text = "Line1~r~nLine 2" uo_1.event ue_open () Here is the "u_textbtn" export-file: $PBExportHeader$u_textbtn.sru $PBExportComments$Created: Leyka...
  9. leyka

    Using computed field to display different bitmaps

    Add the bitmap paths to the PBR file (PowerBuilder Resource File). Look at this (Powerbuilder User's Guide): Distributing resources You can choose to distribute your resources (pictures, pointers, and icons) separately or include them in your executable file or dynamic library...
  10. leyka

    Using computed field to display different bitmaps

    Sory for my poor English: 1. Check which directory is current, when application calls this datawindow. It can be not the directory of your application. 2. Try to set the absolute path "c:\bla-bla-bla" to test, if this depends on the "current directory" setting of Windows ---------- gruss...
  11. leyka

    Using computed field to display different bitmaps

    1. Check which directory is current, when application called this datawindow. I can be not the directory of application. 2. Try to set the absolute paths "c:\bla-bla-bla" to test, if this depends of the "current directory" setting of window 3. Use this external function: FUNCTION ulong...
  12. leyka

    PB Tracing Utility

    Look in PB Documentation at folowing Functions: 1.TraceOpen 2.TraceEnableActivity 3.TraceBegin 3.TraceEnd 4.TraceClose Click here: PB Main Menu->File->New->"Tool" Tab Page->Profiling Class View, Profiling Routine View, Profiling Trace View ---------- gruss aus Deutschland
  13. leyka

    How to get the selected row in a DW with groups

    See: GetBandAtPointer method (DataWindows) "Reports the band in which the pointer is currently located, as well as the row number associated with the band. The bands are the headers, trailers, and detail areas of the DataWindow and correspond to the horizontal areas of the DataWindow painter."...
  14. leyka

    PictureButton / CommandButton

    New version. Now you need no timing-object. And a simple leftbutton-click produced button lowering too. $PBExportHeader$u_pictbtn.sru forward global type u_pictbtn from userobject end type type p_1 from picture within u_pictbtn end type type st_1 from statictext within u_pictbtn end type...
  15. leyka

    PictureButton / CommandButton

    You need this two objects: Make simply import. $PBExportHeader$u_timing.sru forward global type u_timing from timing end type end forward global type u_timing from timing end type global u_timing u_timing on u_timing.create call super::create TriggerEvent( this, "constructor" ) end on on...
  16. leyka

    graphs

    instead of "id"-column use your key column
  17. leyka

    graphs

    This is a very, very, very bad database design, but there is a decision: create graph-datawindow from such SQL-SELECT: SELECT "months"."month_1" as value , 'month_1' as name FROM "months" where id =:id union SELECT "months"."month_2" , 'month_2' FROM "months" where id =:id...
  18. leyka

    printing before complete

    This must help: http://www.sybase.com/detail?id=42303
  19. leyka

    DWC.Modify() - Error???

    check if your's computed field name is really "c_field_name
  20. leyka

    Text Parameter in Sybase Stored Procedure

    Hm... 1. I use: Adaptive Server Anywere 6.0.4.3763 2. I have a table named "TEST" create table dba.test (id int default autoincrement not null, mes text default '' null) ; 3. I have a procededure named "DBA.TEST_PROC" alter procedure DBA.TEST_PROC(@id integer,@mes TEXT) as begin update...

Part and Inventory Search

Back
Top