FORM בעברית.

morduk

New member
FORM בעברית.

הי לכולם. מישהו יודע איך בונים FORM הפוך? ז"א למען כתיבת תוכנה בעברית? הסבר: שכל החלון יהיה הפוך, ה"X" לסגירה יהיה משמאל וה-MENU+MENUITEMS יהיו מצד ימין...? תודה.
 

itaym02

New member
תשובה חלקית לMENUE

היי אני מניח שהתכוונת לwinform. לחלון יש תכונה (property) שנקראת RightToLeft. תכניס לה את הערך המתאים. זה גורם לשורת התפריטים להופיע בימין החלון. איך הופכים את הX - גם אני רוצה לדעת. הערה: יש הרבה דברים אינטואיטיבים ב.NET כל פעם שאתה רוצה לדעת איך משנים משהו באובייקט קיים - תעבור על רשימת התכונות שלו.
 

morduk

New member
תודה ... והנה:

קודם כל תודה... :) חוץ מזה, מצאתי איך להפוך את ה - "X" אז הנה בשבילך: 'Inherits System.Windows.Forms.TreeView 'Define your style Const WS_EX_LAYOUTRTL = &H400000 Private _RTL As Boolean = True 'Mirrored property to test the RTL order 'Description ("Change to the right-to-left layout."),DefaultValue(False),Localizable (True), Category("Appearance")> Public Property Mirrored() As Boolean Get Return _RTL End Get Set(ByVal Value As Boolean) 'Set the new value if it changed If _RTL <> Value Then _RTL = Value MyBase.OnRightToLeftChanged(EventArgs.Empty) End If End Set End Property Protected Overrides ReadOnly Property CreateParams() As System.Windows.Forms.CreateParams Get 'Retrieve the CreateParams class to change the style Dim CP As System.Windows.Forms.CreateParams CP = New System.Windows.Forms.CreateParams CP = MyBase.CreateParams 'If the control needs RTL add these styles If Mirrored Then CP.ExStyle = CP.ExStyle Or WS_EX_LAYOUTRTL End If Return CP End Get End Property Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call Dim ainfo As New AssemblyInfo Me.Text = ainfo.Title Me.MenuItem_About.Text = String.Format("&àåãåú {0} ...", ainfo.Title) End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer End Sub #End Region וחוץ מזה... הייתי רוצה לקבל קצת מידע על COMBOBOX והגדרת משתנים (ITEMS) שיכיל בתוכו.... יש אולי איזה TOUTORIAL שאתה מכיר?
 

asafeven

New member
להפוך את ה-X יהיה חלק מה-

RightToLeft של הטופס בדוט נט 2005
 

itaym02

New member
תודה

אם יש לך גישה - הייתי הולך על הספרים של WROX. תנסה גם ב www.w3schools.com
Try to use the code tag (bottom of text box, when you enter a message).​
 

gilad g

New member
../images/Emo45.gif

רק פעם הבאה, אם אפשר, ליישר לשמאל
 
למעלה