Ko Amin, Tidak ada yang salah dengan script itu, saya coba jalankan di PB 9 dan itu running well. Kebetulan saya tidak mempunyai program PB 7. Mungkin teman teman yang lain dapat membantu.
Ronny -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of jonind Sent: Thursday, May 11, 2006 4:23 PM To: [email protected] Subject: [indopb] Help me Dear PBer's, Saya punya script seperti dibawah ini: Pertanyaan : Jika di running dalam lingkungan power builder tidak ada error, tetapi jika dijalankan objectnya muncul error. Please advise Sebagai reference : sebelumnya saya menggunakan PB 6 dan running well, sekarang pakai pb 7. Best regards, Amin =========================================================== start Integer li_ScreenH, li_ScreenW Environment le_Env If Message.StringParm = "hide" Then This.Hide() Return End If p_splash.Hide() p_splash.SetRedraw(True) ----------> error di line ini dengan message : "error : bad runtime function reference p_splash.OriginalSize = True This.Height = p_splash.Height This.Width = p_splash.Width p_splash.Show() // Center window GetEnvironment(le_Env) li_ScreenH = PixelsToUnits(le_Env.ScreenHeight, YPixelsToUnits!) li_ScreenW = PixelsToUnits(le_Env.ScreenWidth, XPixelsToUnits!) This.Y = (li_ScreenH - This.Height) / 2 This.X = (li_ScreenW - This.Width) / 2 This.SetPosition(Topmost!) ================================================================ end [Non-text portions of this message have been removed] ----------------------------------------------- IndoPB - Indonesia PB User Group Learn PB6 by download FasTrack to PB6 at : http://groups.yahoo.com/group/indopb/files/Belajarpb6/ To Unsubscribe,send a blank message to: [EMAIL PROTECTED] Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/NhFolB/TM --------------------------------------------------------------------~-> ----------------------------------------------- IndoPB - Indonesia PB User Group Learn PB6 by download FasTrack to PB6 at : http://groups.yahoo.com/group/indopb/files/Belajarpb6/ To Unsubscribe,send a blank message to: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/indopb/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
