Search found 199 matches

by minas
Sun Nov 24, 2019 12:17 pm
Forum: Technical
Topic: Implementing IInterface works in VCL but not in FMX
Replies: 5
Views: 14479

Re: Implementing IInterface works in VCL but not in FMX

the Cpp Example ,in the following link, maybe could help you

http://docwiki.embarcadero.com/RADStudi ... nd_C%2B%2B
by minas
Fri Nov 22, 2019 9:27 am
Forum: Technical
Topic: TForms and z-order
Replies: 8
Views: 20377

Re: TForms and z-order

Do you mean as other side effects those mentioned in the documentation ?

"MainFormOnTaskBar must be True to use Windows Vista or Windows 7 Aero effects, including live taskbar thumbnails, Dynamic Windows, Windows Flip, and Windows Flip 3D."
by minas
Tue Nov 19, 2019 6:37 am
Forum: Technical
Topic: TForms and z-order
Replies: 8
Views: 20377

Re: TForms and z-order

Set Application->MainFormOnTaskBar to false in your project's source file . Use menu Project->View Source. The "side effect" in this case is that the taskbar button of your application will use the Application's title instead of the mainform's title.
by minas
Mon May 23, 2016 2:15 am
Forum: Technical
Topic: ListView1ButtonClick
Replies: 6
Views: 27017

Re: ListView1ButtonClick

Ooops
I see in Docwiki , there is not Caption property for TListItem.
Since TListViewItem contains(deriving from) TListItem , static_cast is the way to go as you have already done...
by minas
Sun May 22, 2016 3:43 pm
Forum: Technical
Topic: ListView1ButtonClick
Replies: 6
Views: 27017

Re: ListView1ButtonClick

The problem is caused because in Berlin version(as I see in documentation) the type of AItem parameter of TItemControlEvent event type has changed ... http://docwiki.embarcadero.com/Libraries/[b]Berlin[/b]/en/FMX.ListView.TAppearanceListView.OnButtonClick C++ __property Fmx::Listview::Appearances::T...
by minas
Mon May 09, 2016 2:57 pm
Forum: Technical
Topic: [XE2] Access violation at TDataModule's constructor - SOLVED
Replies: 4
Views: 20435

Re: [XE2] Access violation at TDataModule's constructor

just a thought ...
is DataModule in AutoCreated Forms in Project B (Project->Options->Forms) ?
by minas
Sat Apr 16, 2016 8:04 am
Forum: Technical
Topic: ExtractIconExW
Replies: 7
Views: 31495

Re: ExtractIconExW

ico_count = ExtractIconExW(lpszFile.w_str(), nIconIndex, phiconLarge, phiconSmall, nIcons); to get the number of icons call ExtractIconExW with nIconIndex=-1 phiconLarge=NULL phiconSmall= NULL ico_count = ExtractIconExW(lpszFile.w_str(), -1,NULL,NULL, nIcons); then allocate memory for the icons' ha...
by minas
Tue Feb 23, 2016 11:17 am
Forum: News
Topic: Allen Bauer has officially left Embarcadero
Replies: 3
Views: 24338

Re: Allen Bauer has officially left Embarcadero

in Google may have plans for the Android Studio... :-)
by minas
Tue Feb 09, 2016 2:25 pm
Forum: Technical
Topic: peculiar problem when appending record - firedac & advantage
Replies: 2
Views: 14100

Re: peculiar problem when appending record - firedac & advan

just call FFDTable->Last() right after Post()
by minas
Sun Jan 24, 2016 5:33 pm
Forum: Technical
Topic: Error when converting from C++ Builder 2007 to XE
Replies: 4
Views: 21680

Re: Error when converting from C++ Builder 2007 to XE

TFrame does not have a Canvas property of its own. And even if it did, its Canvas->Handle would only be valid while the TFrame is in the process of being painted. If you need a TCanvas for a TFrame, use a TControlCanvas object, as shown in my reply above. yes ,you are right ...I was thinking of TFo...
by minas
Sun Jan 24, 2016 3:39 pm
Forum: Technical
Topic: Error when converting from C++ Builder 2007 to XE
Replies: 4
Views: 21680

Re: Error when converting from C++ Builder 2007 to XE

Marloes wrote:

Code: Select all

  Graphics::TBitmap* bitmap = new Graphics::TBitmap;
  bitmap->Handle = CreateCompatibleBitmap(Handle, BITMAP_WIDTH, BITMAP_SHORTHEIGHT);
bitmap->Handle = CreateCompatibleBitmap(Canvas->Handle, BITMAP_WIDTH, BITMAP_SHORTHEIGHT);
by minas
Tue Jul 14, 2015 11:03 am
Forum: Technical
Topic: How to auto-popup tool tip
Replies: 2
Views: 15639

Re: How to auto-popup tool tip

HsiaLin wrote:I dont think i have seen a menu that had a tooltip, or not that i can remember.
normally it has, the problem is that is not working in C++ builder since the TMenuItem is not descendant of TControl and so is not showing up by the Application like it does e.g. in case of a TButton
by minas
Thu May 28, 2015 1:24 pm
Forum: Technical
Topic: Dynamically enable items in popup menu
Replies: 4
Views: 21912

Re: Dynamically enable items in popup menu

HsiaLin wrote: MenuItemName1->Enabled = true;
MenuItemName1->Enabled = false;
or
/*e.g for the first MenuItem -index 0 */
PopupMenu1->Items->Items[0]->Enabled= true;
PopupMenu1->Items->Items[0]->Enabled= false;
by minas
Tue Apr 07, 2015 12:51 pm
Forum: News
Topic: New C++ Builder XE8
Replies: 5
Views: 27865

Re: New C++ Builder XE8

at least I, see no problems in Embarcdero's site about changing the language ...maybe they fixed it ...
by minas
Thu Feb 05, 2015 3:42 pm
Forum: Technical
Topic: [Android]LocationSensor
Replies: 3
Views: 16261

Re: [Android]LocationSensor

void __fastcall TForm1::FormShow(TObject *Sender)
{
LocationSensor1->OnLocationChanged = LocationSensor1LocationChanged;
LocationSensor1->Active = true;
}