how can read a value inside a editbox in paneldialog.mqh ?
If interprete your question correctly , you want to select a panel ?
If not i dont now what you try to archive.
If yes:
Look in the discribtion
inherit from Class CObject
Prev, Prev, Next, Next, Save, Load, Type, Compare
inherit from Class CWnd
Destroy, OnMouseEvent, Name, ControlsTotal, Control, ControlFind, Rect, Left, Left, Top, Top, Right, Right, Bottom, Bottom, Width, Width, Height, Height, Size, Size, Size, Move, Move, Shift, Contains, Contains, Alignment, Align, Id, Id, IsEnabled, Enable, Disable, IsVisible, Visible, Show, Hide, IsActive, Activate, Deactivate, StateFlags, StateFlags, StateFlagsSet, StateFlagsReset, PropFlags, PropFlags, PropFlagsSet, PropFlagsReset, MouseX, MouseX, MouseY, MouseY, MouseFlags, MouseFlags, MouseFocusKill, BringToTop
inherit from Class CWndObj
OnEvent, Text, Text, Color, Color, ColorBackground, ColorBackground, ColorBorder, ColorBorder, Font, Font, FontSize, FontSize, ZOrder, ZOrder
If not i dont now what you try to archive.
If yes:
Look in the discribtion
inherit from Class CObject
Prev, Prev, Next, Next, Save, Load, Type, Compare
inherit from Class CWnd
Destroy, OnMouseEvent, Name, ControlsTotal, Control, ControlFind, Rect, Left, Left, Top, Top, Right, Right, Bottom, Bottom, Width, Width, Height, Height, Size, Size, Size, Move, Move, Shift, Contains, Contains, Alignment, Align, Id, Id, IsEnabled, Enable, Disable, IsVisible, Visible, Show, Hide, IsActive, Activate, Deactivate, StateFlags, StateFlags, StateFlagsSet, StateFlagsReset, PropFlags, PropFlags, PropFlagsSet, PropFlagsReset, MouseX, MouseX, MouseY, MouseY, MouseFlags, MouseFlags, MouseFocusKill, BringToTop
inherit from Class CWndObj
OnEvent, Text, Text, Color, Color, ColorBackground, ColorBackground, ColorBorder, ColorBorder, Font, Font, FontSize, FontSize, ZOrder, ZOrder
Stefano Cerbioni:
Hi guys i have a part of panel dialog that create a edit box
for write inside i can use this function
void CPanelDialog::OnClickButtonSell(void)
{
m_edit.Text(__FUNCTION__);
}
but if i want read ?? how can do ?
thanks
Isn´t it simply m_edit.Text(); ?
In case of doubts natively:
string mytext=__MT_Object_GetText(NULL, m_edit.Name()); string __MT_Object_GetText(long chartid, string name) { if (chartid==NULL) chartid=__CHARTID; string text=__MT_Object_GetString(chartid,name,OBJPROP_TEXT); if (text=="\n ") text=NULL; return text; } string __MT_Object_GetString(long chartid, string &name, ENUM_OBJECT_PROPERTY_STRING id, int modifier=0) { string value=NULL; ::ObjectGetString(chartid,name,id,modifier,value); return value; }
Hi guys i have a part of panel dialog that create a edit box
for write inside i can use this function
void CPanelDialog::OnClickButtonSell(void)
{
m_edit.Text(__FUNCTION__);
}
but if i want read ?? how can do ?
thanks