|
|
|
MSA2000 как изменить заголовок приложения
|
|||
|---|---|---|---|
|
#18+
Хочу программно изменять заголовок приложения(тот который в параметрах запуска), как это сделать???? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.04.2004, 16:19 |
|
||
|
MSA2000 как изменить заголовок приложения
|
|||
|---|---|---|---|
|
#18+
Где взял не помню AddAppProperty "AppTitle", dbText, "Новый заголовок" Application.RefreshTitleBar Public Function AddAppProperty(prpName As String, prpType As Variant, prpValue As Variant) As Integer Dim dbs As DATABASE, prp As Property Const conPropNotFoundError = 3270 Set dbs = CurrentDb On Error GoTo AddProp_Err dbs.Properties(prpName) = prpValue AddAppProperty = True AddProp_Bye: If Not isNothing(prp) Then Set prp = Nothing If Not isNothing(dbs) Then Set dbs = Nothing Exit Function AddProp_Err: If Err = conPropNotFoundError Then Set prp = dbs.CreateProperty(prpName, prpType, prpValue) dbs.Properties.Append prp Resume Else AddAppProperty = False Resume AddProp_Bye End If End Function Public Function isNothing(ByVal objName As Object) As Boolean isNothing = (TypeName(objName) = "Nothing") End Function ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.04.2004, 16:42 |
|
||
|
|

start [/forum/topic.php?fid=45&tid=1675036]: |
0ms |
get settings: |
9ms |
get forum list: |
20ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
174ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 231ms |
| total: | 489ms |

| 0 / 0 |
