Pages

Friday, April 29, 2011

This blog has been moved

Due some technical problems, I decided to move this blog to new address at

http://powerbuilderworld.blogspot.com

This blog will still exist, but for the new post will be posted at new blog address above.

Thank you
»»  READMORE...

Thursday, April 28, 2011

Create Object Programmatically with Powerbuilder - Part 1

In Powerbuilder, we can create an object programmatically, means that you can create whenever you need or conditionally.

In this first part, I trying to explain how to create "static" picture object when user clicking the button. Static mean that we only create the object, without script associated inside the object. The function that will be used it's called: openuserobject

For detail explanation of openuserobject function, please see the official help of Powerbuilder. 

First, create a button, and type this follow script inside Clicked event.
picture p_2  // declare the picture variable
p_2 = create picture  // create the picture object

p_2.x = 100  // x position of the object
p_2.y = 100  // y position of the object
p_2.height = 250 // height value of the object
p_2.width = 250 // with value of the object
p_2.picturename = "redalert.bmp" // name of the picture inc full path

parent.openuserobject( p_2, "p_2", 100, 100) // ok, let's create the object


»»  READMORE...

Wednesday, April 27, 2011

Click and Drag with Powerbuilder

This article will show you how to make an object to be click and drag capable in Powerbuilder. In this case, I'm using Powerbuilder 9.0 and Picture Object. In this version, I found DragAuto property in the list of the picture property, one that I can't found in version 6.5. I'm not sure, since when Sybase added this property.

The Drag Auto property determines whether PowerBuilder puts the control into drag mode automatically. If the property is enabled, when the user clicks the control and starts dragging it, PowerBuilder puts the control in drag mode. Clicking the control triggers a DragDrop event, not a Clicked event.

If Drag Auto is not enabled, then when the user clicks the control, PowerBuilder does not put the control in drag mode. You have to call the Drag function to put the control into drag mode.

In the Window, put 1 Picture object, and set the name of the file, and turn on the DragAuto option, in other tabs of property, and named it as p_1


Add the following script in p_1's clicked event
this.Drag(begin!)

At the p_1's dragleave event, put this following script:
this.x = parent.pointerx( ) - (this.width / 2)
this.y = parent.pointery( ) - (this.height / 2)
parent.setredraw(true)
this.setredraw(true)

And finally, at p_1's dragdrop event, add this following script:
parent.setredraw(true)
this.setredraw(true)
this.Drag(end!)
»»  READMORE...

Thursday, February 10, 2011

Printing shrink in IE7 and IE8

Some of my users facing the font shrink-ed when they tried to print the web page with Internet Explorer (IE) version 7 or 8.

To solve this case, if you are using version 8, make sure the option Shrink to Fit option in Page Setup menu, in your IE, is unchecked.

If you are using Internet Explorer version 7, you need to add the Registry Key by doing the steps below:
On the command prompt, type the following statement:

reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_STF_Scale_Min" /v iexplorer.exe /t REG_DWORD /d 100 /f

Click OK to confirm when warning window is showed.

Or, download this file, unzip the file, then run the file inside.
»»  READMORE...

Thursday, January 20, 2011

Toshiba Satellite Pro L640 Review


Toshiba Satellite Pro L640 deliberately designed to run faster than any other Satellite series. 14-inch wide-screen support the easy mobility of users. No doubt Notebook Toshiba Satellite Pro L640 in circles like the design for students and professionals.Again, an interesting texture to be lethal for young people. 
Point of Review :
  • DDR3 support makes Satellite Pro L640 deliver more bandwidth and more energy efficient. In addition, the 14-inch diagonal TruBrite HD LED-backlit display is really evocative of your eyes. Brighter, sharper, and claimed to be more energy efficient.
  • Touchpad with Multi-touch Control in the Toshiba Satellite Pro L640 makes the process of zooming an image or whatever is easier and faster. Very fitting for a worker designer or photographer who spent more than half a day in front of a computer for image processing graphics.
  • Connect anywhere with the Wireless N Wi-Fi with this notebook. A busy professional and student really need this connection. In addition to checking email, social networking can be a separate way to keep in touch with friends
  • Finding  files in a notebook folder tucked sometimes hard sometimes quite annoying. Especially when the folder-folder has been disordered. Satellite pro l640 answer with ToshibaReelTime ™. With this notebook application you can search files in various ways. Start typing afilename from the direct or first grouping based on file type. Facilitate it?
Satellite Pro L640 is enough cover anything that needed a professional and student . Mobility, busy schedules, the need for internet connection. Everything can be resolved with this notebook. Size is not too high price with quality is a gift for qualified professionals and student.

Allegories are circulating in the community that Toshiba Notebook as a tank is separate evidencethat the Satellite Pro L640 notebook is worthy of your purchase.
»»  READMORE...

Nintendo 3DS Software Estimated Price


Since Nintendo hasn't given any official word on this subject yet, Joystiq was kind enough to look into retailer price listings for 3DS software. From what we're seeing, it looks like anywhere from $40-50 a pop for a 3DS game card - or in other words games priced at relatively the same cost as Wii games. Now, considering we're getting more for our money, this certainly isn't surprising, but with game prices climbing this high it's hard to say that handheld gaming is shaping up to continue to be the affordable alternative to consoles.

Read more at here
»»  READMORE...

Friday, January 14, 2011

[Updated] Toshiba Folio AS100 Short Review

My last post about Toshiba Folio AS100 review said that the camera quality is poor. Now I want to make a correction that the camera quality is fair for 1,3 MB resolution. All because my boss put the screen protector which block the webcam.

When I tried to remove the screen protector, the camera work well with the fair quality.

Also I have more times to try the Folio. Since the Toshiba doesn't provide the Android Market application yet (confirmed by the Toshiba, but they said they will launch the Android Market for the Folio somewhere in January 2011), you can try to download the applications with the 3rd party applications like Camangi Market or via pandaapp.com

I've tried to install some games and Youtube viewer, some of them work well, some are not.
»»  READMORE...

Friday, January 7, 2011

AVG 2011 Offline Full Installation Download

As the default, when you want to download the AVG 2011 free version, you only download the basic installation file, then you must have the internet connection to continue to finish the installation.

Some times you have another computers (PC / Notebook), which have no internet connection. How to install the AVG 2011 antivirus to the offline computers ?

Just download the offline full installation file from http://free.avg.com/in-en/download.prd-afh, then install it into each offline computers. The installation is for Windows XP, Vista, and Windows 7, both for 32 or 64 bits. And also you can find the newest updates of AVG 2011 in the link.
»»  READMORE...

Thursday, January 6, 2011

Toshiba Folio AS100 Android Tablet - Short Review

Just got Toshiba Folio AS100 from my boss, the first Android tablet from Toshiba.

First impression, it quite good design compared to another tablets. I only have around half hour to try the Folio


The weight is light, according to Toshiba's website, officially they said is around 760 gr, is more light than iPad. From the dimension, is not quite far from iPad. The different is the type of the screen which is the Folio come with wide screen mode.



The touch screen is more sensitive than the other android tablet product, specially if compared with the china's android tablet market. But still below the iPad technology.



One of the main disadvantage from Folio is there's no Android Market Application. That's made me difficult to try to download the application from officially.
Another weakness is camera quality. Even come with the 1.3 MP resolution, but still the result is very poor.


Officially, the main specs of Toshiba Folio AS100 is:
  • OS: Android 2.2
  • Processor: Nvidia Tegra 2
  • Display: multitouch display 10.1 "widescreen WSVGA (1024x600pixel)
  • Audio: 2 stereo speakers and microphone 0.5 W
  • Storage: 16GB internal memory
  • Networking: 802.11b/g/n WiFi, Bluetooth, 3G
  • Ports: HDMI, USB 2.0 standard, USB 2.0 mini audio jack
  • Card reader: SD (up to 32GB) MMC
  • Battery: 1020mAh, 3.7V, 22600mWh. Up to 7 hours of life with mixed use
  • Internet: Opera Mobile Browser with Flash 1.10
  • Productivity suite of office applications, PDF reader, ebook reader and RSS aggregator
  • Multimedia: 1.3 MP Webcam
  • Dimensions: 281 x 181 x 14mm
  • Weight: 760gr
»»  READMORE...

Motorola Xoom

Motorola has just outed its delicious Honeycomb tablet alongside another device, the LTE-equipped Bionic, on its official site.  A 1GHz dual-core Tegra 2 offers the power from within, and 4G connectivity will apparently be available as an update in Q2 following a Q1 launch. Other specs include a 1280 x 800 resolution, 5 megapixel camera, 720p video recording and 1080p video playback, 802.11n WiFi, Bluetooth 2.1 + EDR, and finally, a healthy 32GB of onboard storage.
»»  READMORE...