Friday, September 19, 2008

Get WIndow Argument

The following comands show how to get window argement from Window application:
 
ParamCount()
ParamStr(num)

Wednesday, September 3, 2008

Make the dfm form to TEXT

If you need to translate Chinese Form to English Form, you can first use:

1) Use Borland\CBuilder6\bin\convert.exe -i -t *.dfm to covert all binary dfm to TEXT

2) Open all *.cpp files in Borland C++ Builder, click the form, select View as Text, Ctrl S to save and then click the top-right X to close the form.

3) Use MemBig5GB to change all chinese text to english text.

Enoch Ng (Project Manager)
http://www.memdb.com

Wednesday, July 16, 2008

Page Up and Page Down Shortcut Key

First set the Form-> KeyPreview to true, and write the following form event:

void __fastcall TProductForm::FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift)
{
if(Key==VK_PRIOR)
{
Key=0;
prevActionExecute(this);
}
else if(Key==VK_NEXT)
{
Key=0;
nextActionExecute(this);
}
}

Introduction

This blog is created to store some technical information on programming in Borland C++ Builder.

MemDB is using Borland C++ Builder to help customer tailor take software. And here are some document and experience in writing the solution.